Skip to main content
100%

dataset

✓ Published20🌍 Public
RRomersims
Last edited Mar 10, 2022
Created on Jan 28, 2022
Forked from Hello VizHub

This example displays a horizontal bar chart of the top 20 most traded stocks on the Brazilian B3 exchange, using data from a local CSV file. It loads D3 v5 from UNPKG and imports `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `format` to parse the data, map quantities to bar widths, and render axes with a `.3s` tick format. The SVG renders steelblue rectangles, with labels and a title, while a separate ES6 module attempts to handle a button click but contains incomplete syntax.

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