Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Comparing Star Wars planets

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed