Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Comparing Star Wars planets

Public visualization

Viewing a saved revision (read-only)

c2bf7809653c464daa5b2d49aa875998

Comparing Star Wars planets

0 stars2🌍 Public
HHenri Lappalainen
Last edited Aug 5, 2019
Created on Jul 27, 2019

This scatterplot compares Star Wars planets by their diameter and population, with each planet’s diameter also determining the size of its circular mark. The visualization uses D3 v5’s `scaleLinear` for the x- and y-axes and `scaleSqrt` for the radius encoding, rendering the SVG with circles. A size legend encodes the diameter scale, and data are loaded from `planets.json`. Axis tick labels are formatted using D3’s `format` function.

AI-generated description