<script src='js/addons/mg_line_brushing.js'></script> <link rel='stylesheet' href='css/addons/mg_line_brushing.css' />d3.json('data/fake_users2.json', function(data) { for (var i = 0; i < data.length; i++) { data[i] = MG.convert.date(data[i], 'date'); } MG.data_graphic({ title: "Brushing Addon by Dan De Havilland", description: "Drag the crosshair over the chart to zoom. For further details about this addon, take a look at its GitHub repo.", data: data, top: 70, width: 600, height: 240, right: 40, missing_is_hidden: true, target: '#brushing' }); });