linechart
✓ Published0🌍 Public
This line chart displays the cost of sales from 2000 to 2013 using a dataset loaded from a CSV file. The visualization uses D3 v7 to render an SVG with a band scale for the year axis and a linear scale for cost values. Data is filtered and mapped with d3.csv, then displayed as a thick light-green path using d3.line, with styled red axis labels.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed