Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

RC 007 Bar Chart of stock data with shading

Public visualization

Viewing a saved revision (read-only)

8e7b548fd4d74b8992efbeb071f124ba

RC 007 Bar Chart of stock data with shading

0 stars0🌍 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