Another Charts library to make your life nightmare easier.
import 'svg-charts/svg-charts.css';
import SVGCharts from 'svg-charts/svg-charts';
SVGCharts({
container: `#empty_container_selector`,
data: chartData
});
Where chartData
- object in specific format (check chart_data.json for reference)
Try it out at https://omieliekh.github.io/svg-charts/