Skip to main content
100%

Jaynica nunna

✓ Published0🌍 Public
Nnunnajaynica@gmail.com
Last edited Apr 12, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example presents a horizontal bar chart titled “POPULATION-2010,” visualizing the 2010 population data for 20 countries. The chart uses a Categorical color scheme with green bars and blue axis lines, with country names on the y-axis and population totals on the x-axis formatted using D3’s `format` function (e.g., “B” for billions). Built with React and D3 v5, it loads data from a CSV file via the `d3.csv` parser, then renders an SVG using `scaleBand` for categorical y-positions and `scaleLinear` for the numeric x-axis. Tooltips display each bar’s exact value, and the chart is part of a VizHub example demonstrating local ES6 module imports and D3 integration.

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