Skip to main content
100%

check

✓ Published0🌍 Public
BBryanA999
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from ICE 7- Area Chart

This example visualizes the relationship between engine size and horsepower in a dataset of car models. A smooth, curved area chart displays the trend, with engine size plotted on the x-axis and horsepower on the y-axis, using linear scales and grid lines for reference. The code uses D3 v5’s `csv` to load data, `scaleLinear` for both axes, and `area` and `line` generators with `curveBasis` to produce the SVG path. Axis labels are added via `axisBottom` and `axisLeft`, and the data is parsed from a GitHub-hosted CSV file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes