Skip to main content
100%

Summarizing ManCity 2022-2023 Data

✓ Published0🌍 Public
Tthom
Last edited Aug 9, 2023
Created on Aug 9, 2023

This visualization condenses Manchester City’s 2022-2023 season statistics into a single text summary, displaying the total goals scored, goals allowed, and the date of the most recent match. It fetches a CSV dataset scraped from The Fishy and reformats it with `d3.csv`, then uses `d3.map` and array methods like `reduce` to aggregate numeric columns. The final message is rendered in a large `<pre>` element via `document.getElementById`. The code highlights a synchronous loading pipeline with `d3.csv` and demonstrates summing columns for a concise performance recap.

AI-generated description

This program loads and parses the [ManCity's 2022-2023 Results Dataset] which were scraped and reformatted from [The Fishy] (https://thefishy.co.uk/team-results.php?team=Man%20City&season=20)

MIT Licensed

Similar vizzes