Skip to main content
100%

Assignment 2.1

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

A horizontal bar chart displays weapon export values for six countries in 2017, using a linear scale for the numeric count and a band scale for country categories. The SVG rendering loads data from a local CSV file and builds the visualization with D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `format`. Axis ticks extend across the plot, while red axis labels, green bars, and a styled title demonstrate custom color and font adjustments. The example also showcases ES6 module imports and D3 loaded via UNPKG.

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