Colm Lang A3 Histogram
✓ Published1🌍 Public
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 descriptionMIT Licensed