🌍 Public
Viewing a saved revision (read-only)
0b9289b6d8a64a4385dec7f056818565
Fork of Fork of Simple Bar Chart
This example shows the relationship between employee salary and employee ID as a scatter plot. The visualization encodes salary on the x-axis and employee IDs on the y-axis, with each employee represented by a small circle. The code loads salary data from a CSV file using d3.csv, then creates linear and band scales with d3.scaleLinear and d3.scaleBand to map the data to screen positions. Axes are rendered with d3.axisLeft and d3.axisBottom. The SVG rendering approach is used, with circles appended via d3.selectAll and join.
AI-generated description