Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
Ppjdhungana@gmail.com
Last edited Jul 14, 2023
Created on Jul 14, 2023
Forked from Hello VizHub

This bar chart displays weapon export values by country for 2017, sourced from a CSV file hosted on GitHub. The visualization uses D3 v4’s `scaleBand` and `scaleLinear` to map countries to the x-axis and values to the y-axis, with `axisBottom` and `axisLeft` generating the axes. Bars are rendered as SVG rectangles, and the chart includes labeled axes and a title. The code loads D3 via UNPKG and demonstrates importing from local ES6 modules.

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