🌍 Public
Viewing a saved revision (read-only)
3b4ffe267c45487c98f037a8d0ea984b
A4 Box Plot
A box plot displays the distribution of used video game prices from 2003–2010, based on data sourced from CORGIS. It visualizes key statistics including the median, interquartile range, and outlier boundaries derived using D3’s `d3.quantile` and `d3.median` functions. The chart uses D3 v7 to create an SVG rendering with a linear scale (`d3.scaleLinear`) for the x-axis, and draws rectangles and lines to represent the quartiles and range.
AI-generated description<!-- Used Lecture Code For Refrence -->
<!-- Referenced https://observablehq.com/@d3/box-plot/2?intent=fork to learn how to easily obtain the quartiles -->
<!-- Also Referenced https://observablehq.com/@d3/scatterplot/2?intent=fork to learn how to create title axes-->
Data from: https://corgis-edu.github.io/corgis/csv/video_games/