🌍 Public
Viewing a saved revision (read-only)
d8a94d8f924d44d09dc9891489eb3f3f
Area Chart Akhil
This example visualizes textile sales data as an area chart, showing total sales trends over time with a smooth curved baseline. The chart includes labeled axes for year and sales, gridlines, and circular markers highlighting individual data points. Built with D3 v5, it uses `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to generate the SVG path, while `axisBottom` and `axisLeft` render the axes. Data is loaded from a remote CSV file via `csv`, with the year parsed as a date and sales as numeric values.
AI-generated description