ICE 7
✓ Published0🌍 Public
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 descriptionMIT Licensed