Fork of dataset
✓ Published0🌍 Public
This example displays a horizontal bar chart ranking the top 20 traded stocks on the B3 exchange by volume, using data from a local CSV file. The chart encodes the stock code on the y-axis and the trading volume on the x-axis. Built with D3 v5, the code imports specific functions like `scaleLinear`, `scaleBand`, and `axisBottom` to construct the visualization. The rendering is done through SVG elements, with bars styled in steelblue and custom axes, demonstrating a clean presentation of the dataset.
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