π Public
Viewing a saved revision (read-only)
defaa738d02d457f94bde1e629868c7c
Fork of dataset
This chart displays the top 20 stocks on the Brazilian B3 exchange by trading volume, using a horizontal bar chart. The data, loaded from a local CSV file, is parsed and scaled with d3.scaleLinear and d3.scaleBand. Axes are generated with d3.axisLeft and d3.axisBottom, and the chart uses SVG rectangles for bars. A button in the HTML triggers a color-change function from a separate local ES6 module, though the effect is not visually implemented.
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.