Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
Mmaheshchowdaryponnaganti@my.unt.edu
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This bar chart displays the population of three countries: the USA, China, and India. The visualization uses D3.js to create an SVG chart with interactive bars that change color when hovered over. The code imports D3 via UNPKG and uses `d3.scaleBand` and `d3.scaleLinear` for the axes, along with `d3.axisBottom` and `d3.axisLeft` for chart labels. The sample data is hardcoded within the JavaScript module.

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