🌍 Public
Viewing a saved revision (read-only)
0ae94b9724bc4d2f88dd5f8528ffbd86
Temperature Distribution per Country
A box plot visualizes the distribution of average temperatures recorded daily across multiple countries from 2020 to 2024. Each box shows the interquartile range with a white median line, while dashed whiskers extend to minimum and maximum values. The implementation loads CSV data with `d3.csv`, groups entries by country, and calculates quartiles using `d3.quantile`. `d3.scaleBand` positions countries on the x-axis, while `d3.scaleLinear` maps temperature ranges vertically, producing an SVG chart via D3 v7.
AI-generated description