Temp and Humidity Scatter Plot with Color
✓ Published0🌍 Public
This scatter plot visualizes the relationship between temperature and energy consumption, with points colored by species using an ordinal color scale. The visualization uses a D3.js linear scale for both axes and a color legend to map categorical values. The code imports data from an external module, applies d3.scaleOrdinal with schemeCategory10 for colors, and renders circles through a data join. Axes and legends are generated using d3.axisLeft, d3.axisBottom, and custom selection.join methods.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also:
MIT Licensed