Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Area Chart

Public visualization

Viewing a saved revision (read-only)

0c3ba44b89684981b2165b57790eda72

Fork of ICE 7 Area Chart

0 stars0🌍 Public
NNanditha Reddy
Last edited Mar 27, 2024
Created on Mar 25, 2024
Forked from ICE 7 Area Chart

This fork of the ICE 7 Area Chart displays miles per gallon (mpg) for various car models using a line chart with a smooth basis curve. The SVG visualization uses D3 v5’s `scaleBand` and `scaleLinear` to map car models and mpg values, with axes labeled and styled via CSS. The line generator, `d3.line` with `curveBasis`, connects data points, while the dataset is loaded as CSV from a GitHub gist. The chart lacks a filled area, despite its title, focusing instead on the trend line.

AI-generated description

combined line and area charts