Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot using d3.js

Public visualization

Viewing a saved revision (read-only)

0026a4e793f348ba8dd96a5565913dc5

Scatter plot using d3.js

0 stars0🌍 Public
Yyvarshachowdary@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024

This scatter plot visualizes the relationship between years of experience and salary, with each circle representing a data point from a CSV file loaded via d3.csv. The example uses d3.scaleLinear to map the data to x and y axes, with axis labels for both variables. Circles are appended to an SVG container with a fixed radius of 5 pixels and a teal fill, positioned using the scales. Axes are rendered with d3.axisBottom and d3.axisLeft, and the visualization uses d3.v6 in a simple HTML page.

AI-generated description