Fork of dataset
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed