I am looking to enhance the interactivity and responsiveness of a d3js/dimplejs chart by implementing filtering based on clicks in the legends for different series. The code I tried below did not hide the series as expected, although it worked well with a 'bubble' chart.
var svg = dimple.newSvg("#chartContainer", 700, 450);
data = [
{
"Standby Date":"01-DEC-2013 00:00:00",
"Value type":"Actual",
"Value":118,
"Code":"code1"
},
// Additional data entries...
];
var myChart = new dimple.chart(svg, data);
// Code for setting up the chart...
In addition to filtering based on 'Value type', I would also like to implement filtering based on 'Code'. Is there a way to achieve this through the Legend feature or any other possible methods?