Skip to main content
100%

Fork of dataset

✓ Published0🌍 Public
SSheshidharreddy
Last edited Mar 11, 2022
Created on Mar 11, 2022
Forked from dataset

This example renders a horizontal bar chart of trading volumes for Brazilian stocks (B3) using D3 v5. It loads data from a CSV file, parses the `qtde` column as numeric values, and maps `Codigo` labels along a band scale. The visualization uses `scaleLinear`, `scaleBand`, and `axisBottom` with `format('.3s')` to display abbreviated values, while bars are appended as SVG rectangles. A button in the HTML triggers a message element, though its interaction is minimal.

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