Skip to main content
100%

Fork of dataset

✓ Published0🌍 Public
Mmanvithareddykarra
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from dataset

This example displays a horizontal bar chart of trading volumes for various Brazilian stock tickers, sourced from a local CSV file and rendered as SVG. The chart ranks the top 20 securities by volume, with bars extending from left to right and volume labels on the x-axis. The code uses D3.js imports such as `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to construct the visualization, while data is loaded via the `csv` function. The rendering is handled through SVG elements within a 960x500 pixel canvas, with styling applied via CSS classes.

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