Skip to content
InsightCharts

Search

Search guides and components

Network poster

A poster of who is connected to whom: a full-width arc diagram with one arc per connection, as thick as its value (`arc-diagram`), a strip of two to four large figures, and a bottom row where the same entities return as circles joined by lines (`bubble-network`) and as a ranking of centred pills (`pill-rank`).

Use when
Use it when the connections between 5 to about 20 named things are the subject: ferry crossings between harbours, joint papers between institutes, freight between rail yards. Give hero one row per connection and the order the entities sit in, map the entities with a size and optional hand-placed x and y, and rank one measure of each entity. With linked, a click on an entity in any of the three highlights it in the other two.
Avoid when
A flow from sources to destinations in one direction (use flow poster or sankey chart). More than about 20 entities or 40 connections, because the arcs cover each other. Entities with no meaningful order and few links (use bubble network in a poster). Parts of one subject (use radial poster).

Preview

The preview scrolls inside its frame. A poster has the same colours in the site's light and dark modes. The toolbar has the poster themes and a PNG download. Expand it to see it in place, or open it full screen.

Full screen

Composition

Built from

The network poster template is assembled from 1 molecule and 3 poster primitives. Any slot also takes any other component.

Molecules

1

The sheet an infographic is composed on. It paints a full-bleed ground from a poster theme, forces one theme and colour mode on everything inside, and lays out a masthead, a grid of panels and a footer. It can save the whole sheet as one PNG.

Poster primitives

3

Places entities in order on a line and joins each related pair with a semicircular arc whose thickness is the value of the connection; dots are sized by each entity's total.

Draws a small set of circles sized by value and joined by thin lines, with one circle highlighted and tagged.

Shows a ranked list as horizontally centred rounded bars, with each name in capitals on its pill, the value at the left edge and the rank at the right.

Installation

$ pnpm dlx shadcn@latest add @insightcharts/network-poster

The CLI copies the source into your project and needs the @insightcharts registry in components.json; see installation. With the package, import it by name:

import { NetworkPoster } from "insightcharts";

Examples

Noir, joint papers, a hub layout, with download

Forest, five rail yards, arcs and figures only

Props

PropTypeDefaultDescription
herorequired{ data, from, to, value?, order?, colorBy?, arcLabels?, orientation?, format?, highlight?, title?, ... } | SlotThe hero: one arc per pair of connected entities, drawn by arc-diagram. Rows joining the same pair are summed. A full spec or element replaces it.
figures{ value: string; label: string; context?: string; icon?: string; tag?: string }[]Two to four large figures in a strip under the hero.
map{ data, name, value, links?, x?, y?, layout?, tag?, highlight?, format?, title?, ... } | SlotBottom left: the entities as circles sized by value and joined by links: { from, to, value? }[] (bubble-network). x and y (0 to 100) place the circles by hand.
rank{ data, name, value, highlight?, compare?, format?, title?, ... } | SlotBottom right: the entities ranked by one measure as centred pills (pill-rank). With only one of map and rank, that one takes the full width.
titlerequiredstringThe poster's one fact, as a plain sentence with its number.
kickerstringSmall label above the title: the topic.
subtitlestringOne line under the title: the measure, population and period.
themePosterThemeName | string | ThemeInput"dusk"Poster theme: noir, magenta, dusk, ocean, forest, blueprint, sunrise, paper, any other theme name, or a theme object.
mode"light" | "dark" | "auto" | "system""light"Colour mode of the poster and everything in it. A poster paints its own ground and does not follow the page unless you set auto. Only paper has a different dark variant.
downloadbooleanfalseShow a "Download PNG" control under the poster that saves the whole poster as one image.
maxWidthnumber | string1100Widest the poster is drawn. It is centred in wider containers.
linkedbooleanfalseMake the marks clickable. Clicking a mark in one graphic highlights the same name in every other graphic that has it, and filters the graphics that read the shared data. Click it again, or the empty ground of that graphic, to clear.
dataDataInputRows shared by every region whose config leaves out its own data. With linked, a click filters those regions.
sourcesstring | string[]Where the data comes from, shown in the footer.
notestringCaveat shown in the footer, e.g. "Illustrative data".
creditstringWho made the poster, shown at the right of the footer.
level1 | 2 | 3 | 4 | 52Heading level of the title. Panel headings are one level down.