Skip to main content
100%

RC 007 Bar Chart of stock data

✓ Published2🌍 Public
Rrichardcorreia@my.unt.edu
Last edited Oct 26, 2025
Created on Oct 25, 2025

This example combines a time-series price line with volume bars to chart Amazon (AMZN) stock data. The orange close-price line uses d3.line, while semi-transparent steelblue rectangles represent trading volume against a separate right axis. Both axes are rendered with d3.axisBottom and d3.axisRight, and the chart includes dashed grid lines. Data loads from a remote CSV via the AllOrigins proxy and parses with d3.csvParse, then displays a preview table and loading message below the SVG.

AI-generated description
MIT Licensed

Similar vizzes