🌍 Public
Viewing a saved revision (read-only)
7511a83deb88460187fe10ad4a0ee4ec
Fork of Hello VizHub
This fork of Hello VizHub displays a horizontal bar chart of population figures for 20 countries in 2010. It uses React with D3 v5, employing `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and SVG `rect` elements for the bars. Data is loaded as CSV from a GitHub repository via `d3.csv`, with hover tooltips formatted using `d3.format`. The axes are custom React components, and the chart includes labeled tick lines and a population axis title.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.