ICE-6 Scatter plot
✓ Published0🌍 Public
This example shows an interactive scatter plot of age versus income for individuals, with each point labeled by name. It first loads and parses a CSV dataset from a remote URL, then uses Plotly.js to render the visualization. The code fetches the data, extracts the age, income, and name columns, and maps them to x/y coordinates and hover text. The plot is created with a simple layout specifying axis titles and a title, while markers are sized at 12 pixels. The implementation relies on the Fetch API for data retrieval and Plotly’s `newPlot` method to draw the chart.
AI-generated descriptionCreating circles with D3.
Challenge
- Fork this example
- Modify it
- Maybe make it Halloween themed
- Maybe make it Christmas themed
- Be creative
MIT Licensed