Skip to main content
100%

task1

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

This example presents a horizontal bar chart of country populations for 2010, sourced from a CSV file loaded via d3.csv. The visualization uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear mapping country names and population values to screen coordinates. Custom AxisBottom and AxisLeft components generate tick marks and labels, while Marks draws the bars with tooltip formatting using d3.format. The chart includes an axis label and uses a Poppins font.

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