check
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed