# Constellations

> Use constellations to show items as stars joined by their relationships: dot size carries a value, the lines carry who connects to whom.

- Data type: Several measures per item (`relationships`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`relationships`)
- Example: **Six of the sky's brightest stars ring Orion as the Winter Hexagon, and Sirius outshines them all** (Stars of Orion, Canis Major, Canis Minor, Taurus, Gemini and Auriga, apparent magnitude (lower is brighter))
- How to read it: Each dot is a star sized by its brightness, joined into its constellation's traditional figure; the dashed ring is the Winter Hexagon.
- Phone: Works on mobile (Reads on a 390px phone as drawn) · Video formats: 16:9 (best 16:9)

## Use it when
- a small network where each node also has a value
- the groups (figures) matter as much as the links
- a night-sky metaphor suits the story

## Avoid it when
- the positions carry no meaning and many links cross
- more than about 100 nodes
- the link weights matter (use a force network or chord)

## Fields (data.json)
- `stars[].hip` (id): Hipparcos catalogue number
- `stars[].con` (category): the constellation
- `stars[].name` (text): the star's proper name, if it has one
- `stars[].bayer` (text): the Bayer letter (α, β, …)
- `stars[].ra` (number, unit "°", format decimal): right ascension, degrees
- `stars[].dec` (number, unit "°", format decimal): declination, degrees
- `stars[].mag` (number, unit "magnitude", format decimal): apparent visual magnitude; lower is brighter; sets the dot's size
- `stars[].bv` (number, unit "B−V index", format decimal): B−V colour index
- `lines[].con` (category): the constellation a line belongs to
- `lines[].stars` (id): the Hipparcos numbers the line joins, in order

## Interactions, motion, sound
- hover or tap a star to read its name and magnitude
- hover a figure's line to read the constellation
- Motion: Stars come out brightest first, as at dusk; then the figures are drawn and the hexagon appears; the brightest stars twinkle quietly.
- Sound: A soft pop on hover, pitched by brightness. Quiet while it draws and between steps; mute it from its card. (sound is off until the viewer turns it on)

## Example spec
```json
{
  "chart": "constellations",
  "title": "Six of the sky's brightest stars ring Orion as the Winter Hexagon, and Sirius outshines them all",
  "subtitle": "Stars of Orion, Canis Major, Canis Minor, Taurus, Gemini and Auriga, apparent magnitude (lower is brighter)",
  "data": "/charts/constellations.data.json"
}
```

## Source
d3-celestial star and constellation data, Olaf Frohn, d3-celestial (from the Hipparcos and Yale Bright Star catalogues) (BSD-3-Clause), retrieved 2026-12-01: https://github.com/ofrohn/d3-celestial

Note: Stereographic projection centred near Orion, east to the left as seen from the ground. Stars outside the six stick figures are not shown.

Live: /charts/constellations · Manifest: /charts/constellations.json · Tags: stars, constellations, night sky, network, astronomy, space, playful
