Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart for ice 7

Public visualization

Line Chart for ice 7

0 stars1🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example displays a line chart tracking car sales from 2001 to 2010, with the year on the x-axis and sales figures on the y-axis. It uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render the SVG path, with gridlines from tick sizes and labeled axes. The data is loaded via `csv` from a GitHub gist, and the blue line emphasizes the sales trend over time.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed