Skip to main content
100%

Reusable

✓ Published0🌍 Public
Hharshithamiriyam@gmail.com
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from D3 Starter

This example displays a reusable scatter plot of Apple stock close prices over time, using a subset of the first 100 data points from the plotly finance-charts-apple CSV. The visualization shows a blue dot for each sample, mapped with index on the x-axis and price on the y-axis, along with labeled axes. The code defines a `scatterPlot` function that accepts SVG and layout properties, using `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and appends circles to the SVG with D3 v7.

AI-generated description
MIT Licensed

Similar vizzes