Skip to main content
100%

Creating Scatter plot using D3.js

✓ Published0🌍 Public
Yyvarshachowdary@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024
Forked from Cars Scatter Plot

This example shows a scatter plot of age against salary, where each dot represents an individual data point from a CSV file. The code uses D3.js v6 to load and parse the data, then applies `d3.scaleLinear` to map the values. Axes are generated with `d3.axisBottom` and `d3.axisLeft` for the x- and y-axes, respectively, and circles are appended to an SVG container. The data comes from a remote CSV hosted on GitHub, and the plot is styled with a green fill and labeled axes.

AI-generated description
MIT Licensed

Similar vizzes