Skip to main content
100%

Activity - 6_Task - 1

✓ Published0🌍 Public
Pphanisrivinnakota@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024

This bar chart displays population data for 30 countries from the year 2010, sourced from a CSV file loaded via d3.csv. Using React with D3 v5, the visualization maps country names to a d3.scaleBand y-axis and population values to a d3.scaleLinear x-axis. SVG rectangles render the marks, with axis components from local ES6 modules, and formatted tick labels using d3.format. Interactive tooltips appear on hover via SVG title elements.

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