Skip to main content
100%

RC 007 Bar Chart of stock data with shading

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

This bar chart displays Amazon (AMZN) stock price and trading volume over time, with a light gray shaded area beneath the orange price line to emphasize the closing price trend. The visualization combines a time-scaled x-axis with dual y-axes: price on the left and volume on the right, using steelblue bars for volume. Built with D3 v7, the code parses CSV data via `d3.csvParse`, scales with `d3.scaleTime` and `d3.scaleLinear`, and renders SVG elements including axes, grid lines, bars, and an area path.

AI-generated description
MIT Licensed

Similar vizzes