Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

6d899c195b45481ea3f292639f880bca

Fork of Fork of Fork of Reusable D3 Scatter Plot

0 stars1🌍 Public
Bbhargavinalamothu@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This reusable scatter plot, written with D3 version 6, displays a set of numeric x/y data points as steelblue circles. The example fetches its data from a JSON file hosted in a GitHub gist, then maps the raw values to numbers. It builds an SVG canvas and uses `d3.scaleLinear` with `d3.extent` to compute the axes, which are rendered with `d3.axisBottom` and `d3.axisLeft`. The chart includes labeled X and Y axes, with the plotting logic encapsulated in a function for reuse.

AI-generated description