Skip to main content
100%

Line Chart

✓ Published0🌍 Public
NNishadAhsan
Last edited Sep 9, 2020
Created on Sep 9, 2020
Forked from HTML Starter

This line chart visualizes the number of goals scored each match day across a season, using a simple stroke path to connect discrete data points. The chart reads from a CSV dataset with match day and goal counts, rendering as an SVG with scales for both axes. The code employs D3 v6 functions including `scaleLinear`, `line`, `extent`, `max`, and `axisBottom`/`axisLeft` to construct the plot. The visualization is built within a React-friendly structure, with axes and margins explicitly configured, and data parsed as numbers before rendering.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes