🌍 Public
Fork of dataset
An interactive bar chart displays the top 18 most actively traded Brazilian stocks by volume, with horizontal bars representing each stock code. The visualization loads data from a local CSV file and renders as SVG using D3 v5, employing `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart. The code imports these APIs from the `d3` module via UNPKG, while also demonstrating ES6 module imports through the `myMessage.js` file, which logs a button click event but does not alter the visualization.
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
Comments
Sign in to join the discussion.