🌍 Public
Viewing a saved revision (read-only)
0d1eb5bad7dd4bc783940d7d25c4406b
Activity6_Q1.2
This example displays a horizontal bar chart comparing the 2010 population of 20 countries, with each bar’s length proportional to population and a tooltip showing the formatted value. The visualization is rendered as an SVG using React and D3 v5, with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The data is loaded via `d3.csv` from a GitHub gist, and axis ticks are formatted using D3’s `format`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.