Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ManCity 2022-2023 Results Line Chart

Public visualization

Viewing a saved revision (read-only)

95e22f8a3d2649c4981ece9c85d3a093

Fork of ManCity 2022-2023 Results Line Chart

0 stars0🌍 Public
Tthom
Last edited Aug 10, 2023
Created on Aug 9, 2023

The chart visualizes Manchester City’s goals scored per match across the 2022–2023 season, using a black, stroke-only line over an SVG canvas. It loads match data from a CSV file and maps dates to the x-axis and goals to the y-axis via d3.scaleTime and d3.scaleLinear. The line is generated with d3.line, while React’s useState and useEffect manage asynchronous data fetching through d3.csv. The chart fills the browser window, with axes omitted to focus purely on the trend.

AI-generated description