Skip to main content
Public

Share visualization

Loading preview…

Temperature Distribution per Country

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

Temperature Distribution per Country

0 stars1Public
DDaniel Z
Last edited Mar 13, 2026
Created on Mar 13, 2026

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

Comments

Sign in to join the discussion.

MIT Licensed