Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Q2

Public visualization

Activity 7 Q2

0 stars0🌍 Public
Pperamranji
Last edited Apr 7, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This area chart shows the number of car listings per year in a USA cars dataset, revealing trends in vehicle availability over time. The visualization uses a monotone curve to connect yearly counts, with a steelblue fill beneath the line. The code imports `csv`, `scaleLinear`, `area`, `curveMonotoneX`, and `group` from D3 v6 to load the data, aggregate counts by year, and render the chart as an SVG. Axes and labels are created via `axisBottom` and `axisLeft`, with the dataset sourced from a raw GitHub URL.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed