Skip to main content
100%

ICE 7

✓ Published0🌍 Public
Yyvarshachowdary@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example shows a reusable scatter plot of age versus salary, with triangular markers colored blue or green depending on whether each salary falls above or below the dataset’s median. The visualization uses D3 v6 with `d3.csv` for loading external data, `d3.scaleLinear` for axes, and `d3.symbol` with `d3.symbolTriangle` for point shapes. The reusable `createScatterPlot` function allows customization of colors, symbols, and titles. The plot renders as SVG, with axes labeled and styled via standard D3 transitions and selections.

AI-generated description
MIT Licensed

Similar vizzes