Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_Question3

Public visualization

Viewing a saved revision (read-only)

547e3d570f6e400fbc1e8bee56494041

Fork of Activity6_Question3

0 stars1🌍 Public
Tthakurnikhitha4@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity6_Q3

This scatter plot displays latitude and longitude coordinates for cities in France, the United Kingdom, and the USA, using color-coded points to distinguish countries. Built with D3 v6, the visualization uses `scaleLinear` and `extent` to map coordinates to screen positions, with `axisLeft` and `axisBottom` for axes. A legend is generated via `selectAll` with colored rectangles and text labels. The code reads hardcoded data arrays and renders points as SVG circles, with the plot filling the browser window via `window.innerWidth` and `window.innerHeight`.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.