Skip to main content
100%

Fork of Activity6_q1.1

✓ Published1🌍 Public
Jjahnavigummadi@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Activity6_q1

A fork of a VizHub activity example, this visualization renders a horizontal bar chart of country populations for the year 2000. The data is loaded from a GitHub-hosted CSV and displayed using React and D3 v5, with the top ten countries sorted by population. The chart uses `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with SVG `<rect>` marks for each bar and a `<title>` element for tooltips. The code demonstrates importing D3 functions and local ES6 modules, and customizes axis styling through CSS classes.

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