Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
Aakitisaitejareddy@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity 6_Task 1

This visualization displays population data for 30 countries using a horizontal bar chart, with bars colored green and blue axis lines. The chart represents each country’s 2020 population from a CSV dataset through React components that render D3 scales and marks. The code uses local ES6 modules for axis and mark components, while importing `csv` and `select` from d3.v5 to load and manipulate data. Native SVG elements, including `rect` for bars and `line` for ticks, build the visualization with D3’s scale functions handling positioning and sizing.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes