The Margin Convention
✓ Published0🌍 Public
This example visualizes the monthly mean maximum temperature in Quebec from 1941 to 2013 using a box plot for each year. The chart displays the median, quartiles, and interquartile range whiskers as colored rectangles and lines, with the year on the x-axis and temperature in Celsius on the y-axis. The code uses d3.csv to load the dataset, d3.nest and d3.quantile to compute summary statistics, and d3.scaleBand, d3.scaleLinear, and d3.axisBottom/axisLeft for scales and axes. The visualization is rendered as an SVG using React for the application framework, with data sourced from the United Nations World Population Prospects 2019 via a GitHub gist.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed