Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 5 - Line Chart

Public visualization

Assignment 5 - Line Chart

0 stars0🌍 Public
Vvishusikka
Last edited Mar 1, 2022
Created on Mar 1, 2022

This line chart visualizes the average kilometers driven for used cars by model year, using a blue line over a time-scaled x-axis and linear y-axis. The visualization is built with D3 v7, loading data from a CSV file and rendering an SVG chart. It uses `d3.scaleTime` and `d3.scaleLinear` for axes, `d3.line` to draw the path, and `d3.timeParse` to convert year strings into dates. The chart includes labeled axes and a title, with no interactive elements beyond the static SVG output.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed