Skip to main content
100%

Apple Daily Price- Customizing Axes

✓ Published0🌍 Public
Rrangitit
Last edited Sep 6, 2019
Created on Sep 2, 2019

This horizontal bar chart displays Apple Inc.’s daily stock price for selected days in 2019, using a bar length to represent price and a band scale for dates. Built with D3 v5, the SVG chart applies `scaleLinear` and `scaleBand` for axes, with `axisLeft` and `axisBottom` for ticks. The x-axis labels use `format('.3s')` to abbreviate numbers, rendering price values in thousands. Data is loaded from a CSV file, and the chart is drawn using SVG `rect` elements with a pink background and steelblue bars.

AI-generated description

This bar chart shows the price of Apple Inc on some days in year 2019.

MIT Licensed

Similar vizzes