Activity6_population_question1-sahith
✓ Published0🌍 Public
This example displays a bar chart of the top ten most populous countries in the year 2000, ranked in descending order by population. The visualization uses D3.js to load data from a CSV file hosted on GitHub, parse it, filter for the year 2000, and sort for the top ten entries. The SVG rendering includes axes and horizontally aligned bars, with a hover effect that changes bar color from steel blue to orange. The chart is built using core D3 APIs such as `d3.csvParse`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom`.
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