🌍 Public
Viewing a saved revision (read-only)
8f54c437a9944e7794c46cb64ef01b69
Fork of Fork of Area Chart
This visualization displays ten years of car sales data as a combination of a line chart and an area chart. The line traces the trend in sales over time, while the shaded area beneath it emphasizes the cumulative magnitude. The chart uses a black stroke for the line and a black fill for the area, with red axis labels and a bold title. It loads CSV data from a GitHub gist, parses dates with `d3.timeParse`, and renders the SVG using `d3.line`, `d3.area`, `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. The visualization is built with d3.v5 and uses the `curveBasis` interpolation for smooth curves.
AI-generated descriptioncombined line and area charts