A2 - Bar Chart with Log Scale
✓ Published0🌍 Public
This bar chart displays the average earthquake magnitude per country, filtered to show only countries with an average above 3.0. It uses a base-2 logarithmic scale on the x-axis to better visualize the range of values, with bars colored orange and annotated with their exact magnitudes. The visualization is rendered using p5.js, with data loaded from a CSV file hosted on GitHub. Interactive tooltips appear on hover, and the chart also highlights the highest (Japan) and lowest (Afghanistan) averages.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed