Skip to main content
100%

Fork of D3 scatterplot

✓ Published0🌍 Public
MM
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from D3 scatterplot

This fork of the D3 scatterplot visualizes the relationship between age and income for individual data points. The chart displays circular marks positioned along linear scales for both axes, with gridlines and labeled axis titles. The code uses D3’s `scaleLinear`, `max`, `axisBottom`, and `axisLeft` APIs to construct the scales and axes, while `select` and `append` manage the SVG elements. Data is bound through `selectAll('circle').data(...)`, with each circle’s position set via the `cx` and `cy` attributes. No external data source is shown, as the render function expects an array of objects containing `Age` and `Income` fields.

AI-generated description
MIT Licensed

Similar vizzes