Activity 6_Task 1.2
✓ Published0🌍 Public
This example renders a horizontal bar chart of 2010 population data for 20 countries, sourced from a CSV file hosted as a GitHub gist. The visualization is built with React and rendered as SVG, using D3 v5 functions such as `scaleBand`, `scaleLinear`, `max`, and `format` for data handling and scaling. Interactive tooltips display the population value for each bar, and the axes are drawn with custom components, with blue tick lines and light green marks.
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.
MIT Licensed