Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Colm Lang A3 Histogram

Public visualization

Viewing a saved revision (read-only)

a2baf55c11474dffa606c884b1d81261

Colm Lang A3 Histogram

0 stars1🌍 Public
CColm Lang
Last edited Feb 10, 2022
Created on Feb 9, 2022

This histogram visualizes the distribution of Near Earth Objects by diameter, with bar height representing a logarithmic count of objects and the x-axis showing diameter bins in kilometers. Built with p5.js, the sketch loads tabular CSV data from a GitHub gist and renders a custom axis with logarithmic tick marks. The code uses p5.js functions such as `loadTable`, `createCanvas`, and `rect`, along with custom drawing routines for ticks, axis labels, and red bars. The y-axis uses a natural log scale, and the visualization is generated once with `noLoop()`.

AI-generated description