Skip to main content
100%

Activity 6_Task 1.1

✓ Published1🌍 Public
Hhimavinaytummala@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart of the top ten countries by population in the year 2000, using a light green fill for bars and blue tick lines. It loads data from a CSV file via `d3.csv`, formats the x-axis tick labels with `d3.format`, and renders the visualization as an SVG using React components. The chart uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis, with tooltips showing the population value on each bar.

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