Logo white

SGH / COMPONENTS

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • COMPONENTS
  • bower_components
  • d3-scatterplot
  • demo
  • demo.js
  • d3 scatterplot-datalet
    50380d5a
    mwasiluk authored
    2016-06-16 14:05:30 +0200  
    Browse Code ยป
demo.js 272 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
var conf = {
    // width: 500,
    // height: 500,
    dot:{
        // color: 'red'
    }
};
var data = [
    [1,2],
    [2,3],
    [3,4],
    [6,4],
    [11,3],
    [1,3.5],
    [7,4],
    [5,4]

];
var plot = new D3ScatterPlot("#scatterplot", data, conf);
plot.init();