Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Skyscraper Boxplot

Public visualization

Viewing a saved revision (read-only)

6481a1fd37fb42729b2cf0bc4eb60be4

Skyscraper Boxplot

0 stars0🌍 Public
Ssyu36
Last edited Feb 15, 2022
Created on Feb 15, 2022
Forked from HTML Starter

This visualization shows the distribution of skyscraper heights as a boxplot, with the median, quartiles, and outliers displayed against a scaled y-axis labeled in meters. The chart calculates the five-number summary from a CSV dataset and renders it using p5.js, drawing lines and text on a canvas. Outliers beyond the whiskers appear as red jittered points, while extreme values exceeding the canvas bounds are excluded and logged to the console. The dataset is loaded asynchronously via loadTable(), and the drawing logic uses p5.js primitives such as line(), point(), and text() to construct the plot.

AI-generated description

Skyscrapers in this dataset are not necessarily completed.

Certain outliers were not able to be drawn on the chart, as they were quite far outside the bounds of the canvas, and too small in count to justify a logarithmic scale y axis as that would distort the box plot itself.

Height of outliers not included: 518, 541.02001953125, 541.29998779297, 609.48999023438, 609.59997558594, 1609.3599853516

Also, I could not find from the dataset the unit of height used, but it as it is an international dataset and many current buildings built during the duration of the dataset are over the largest value if it were in feet, I have written meters as the unit of height.