Skip to main content
100%

Fork of ICE-7 Line Chart

✓ Published0🌍 Public
Sshiiva-surya
Last edited Mar 24, 2023
Created on Mar 24, 2023
Forked from ICE-7 Line Chart

This chart shows the relationship between horsepower and displacement for cars from 2000 to 2013, with a line graph tracing how displacement values change across different horsepower levels. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear`, `scaleTime`, `axisLeft`, `axisBottom`, and `line` to construct the plot. Data is loaded from a CSV file using `d3.csv`, and the code includes custom axis labels, a title, and grid lines styled via tick sizes. Red strokes highlight the line path while margins position the chart within a 960×500 viewport.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes