Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Colm Lang A3 Box Plot

Public visualization

Colm Lang A3 Box Plot

0 stars0🌍 Public
CColm Lang
Last edited Feb 15, 2022
Created on Feb 15, 2022

This example shows a box plot comparing the average distance from the Sun for near-Earth objects (NEOs) versus non-NEOs among small-body asteroids, with values in astronomical units. It uses the p5.js library to render two horizontal box-and-whisker plots, displaying minimum, quartiles, median, and maximum values after filtering outliers. The data is loaded from a CSV file hosted on GitHub, and the axes are labeled and ticked with p5.js drawing functions. Custom functions compute quartiles, medians, and boundary-based outlier exclusion to position the boxes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed