D3 Visualizations Wizard

What the D3 Visualizations Wizard does

This wizard builds five interactive graphics that a conventional chart cannot express: an animated ranking, three ways of showing a hierarchy, and a world map. You supply a table, choose a visualization, adjust its options, and the wizard produces a Tabulizer ruleset that you import into your own site.

These are drawn with D3, so they are true vector graphics — sharp at any size, and interactive: you can zoom into a branch, open and close nodes, or watch a ranking change over time.

When to reach for this rather than the Chart Wizard

If your data is… Use
Values measured across categories or over time The Chart Wizard — bar, line, pie and the rest
A hierarchy: parts within parts, staff under managers, folders in folders This wizard — circle packing, sunburst or tree
A ranking that changes over time and deserves to be animated This wizard — bar chart race
Places on the Earth This wizard — world map

How the pieces fit together

  1. You build the visualization in the online wizard.
  2. The wizard gives you a ruleset archive (a .zip file).
  3. You import it into Tabulizer on your own site.
  4. You apply the ruleset to a table in one of your articles.
The wizard progress bar showing four steps: Visualization, Data, Options, and Preview and export.
Four steps.

Step 1 — Choose a visualization

Step 1 of the wizard showing five visualization cards: bar chart race, zoomable circle packing, zoomable sunburst, collapsible tree and world map.
Step 1: five visualizations.
Visualization What it does Best for
Bar Chart Race Animated ranking of items as their values change over time Showing how a league table shifted over months or years.
Zoomable Circle Packing Nested circles sized by value; click to zoom into a branch Budgets, disk usage, anything where size matters as much as structure.
Zoomable Sunburst Radial hierarchy; click a segment to zoom in The same data as circle packing, when you want to emphasise depth.
Collapsible Tree Node-and-link diagram whose branches open and close Org charts, site maps, category trees — structure without sizes.
World Map World map with a marker for each location, sized by value Offices, stores, event locations, anything geographic.
The visualization grid with the bar chart race option selected and outlined.
A selected visualization is outlined.

Step 2 — Provide your data

Each visualization needs a different shape of table, so this step changes to match your choice. Helpfully, it tells you the shape it wants and starts pre-filled with a working example — you can preview the result before touching anything, then replace the example with your own figures.

Step 2 for the bar chart race, showing a column reference table, the data source choices, and a CSV area pre-filled with example rows.
Step 2 for the Bar Chart Race. The column table at the top is specific to the visualization you chose.

Two data sources are offered:

  • Enter data myself — type or paste CSV, or load it from a file.
  • Generate example data — useful for trying a visualization out before you have real data.

Restore the example data puts the supplied example back if you overwrite it and want to start again.

The three data shapes

1. A hierarchy — circle packing, sunburst, tree

These three all read the same thing: a flat table where each row names a node and its parent. The structure emerges from those links.

Column Required What it does
Name Yes Node label. Must be unique.
Parent Yes The Name of this node's parent. Leave blank for the single root.
Value No Numeric size for leaf nodes. Leave blank on branches — they are sized by their children. Not used by the tree.
Name,Parent,Value
Company,,
Engineering,Company,
Sales,Company,
Frontend,Engineering,450
Backend,Engineering,520
DevOps,Engineering,310

Exactly one row must have an empty Parent. That row is the root. Two blank parents means two roots and the visualization cannot be built; none means the rows form a loop with no starting point.

Leave Value blank on branches. A branch's size is the sum of its children. Filling in a value on a branch as well double-counts it.

2. A ranking over time — bar chart race

Column Required What it does
Name Yes Item label shown on the bar.
Value Yes Numeric value; sets the bar length.
Category No Optional group; items in the same group share a colour.
Date Yes Time period, e.g. 2020-01.
Name,Value,Category,Date
Apple,100,Fruit,2020-01
Banana,150,Fruit,2020-01
Carrot,80,Vegetable,2020-01
Apple,120,Fruit,2020-02
Banana,130,Fruit,2020-02
Carrot,95,Vegetable,2020-02

Every name should appear once in every period. That is what lets a bar move smoothly from one position to the next. A name missing from a period will jump rather than glide.

3. Places on the Earth — world map

Column Required What it does
Location Yes Place name shown next to the marker.
Latitude Yes Decimal degrees, e.g. 40.7128. Negative south of the equator.
Longitude Yes Decimal degrees, e.g. -74.0060. Negative west of Greenwich.
Value No Optional; sets the marker size.
Location,Latitude,Longitude,Value
New York,40.7128,-74.0060,500
London,51.5074,-0.1278,450
Tokyo,35.6762,139.6503,600
Sydney,-33.8688,151.2093,350
Step 2 for the world map, showing the location, latitude, longitude and value column reference and pre-filled example rows.
Step 2 for the World Map.

Coordinates must be decimal degrees, not degrees/minutes/seconds. 51.5074, not 51°30'27"N. Most mapping sites will give you the decimal form if you ask for “copy coordinates”.

Column names are matched case-insensitively and common alternatives are accepted — lat and lon work as well as the full words, item as well as Name, group as well as Category.

Step 3 — Options

A short step. A General group that every visualization shares, then one group of options specific to the type you chose.

The General options group with title, width and height fields.
General options.
Setting Notes
Title Used as the accessible name of the graphic, so describe what it shows rather than labelling it “chart”.
Width / Height The drawing area in pixels.

The title is doing real work. A visitor using a screen reader hears it as the name of the graphic, so “Headcount by department, 2026” is far more use than “Sunburst”.

Bar Chart Race options

The Bar Chart Race options group with animation speed, bars shown at once, colour scheme, autoplay and loop controls.
Bar Chart Race options.
Setting Default Notes
Time per animation step 250ms Each period is interpolated over several steps, so a period takes roughly ten times this.
Bars shown at once 10 Only the top ranked items are drawn; the rest move in and out as the ranking changes.
Colour scheme Category 10 Six ordinal schemes.
Start automatically On A play/pause button is always shown.
Repeat the animation On When off, it plays once and stops on the final period.

The animation never starts on its own for visitors who have asked their system to reduce motion — they get the play button instead.

Circle Packing and Sunburst options

The Zoomable Circle Packing options group with a colour scheme selector.
Circle Packing — an ordinal colour scheme.
The Zoomable Sunburst options group with a continuous colour scheme selector.
Sunburst — a continuous scheme (Rainbow, Viridis, Plasma, Inferno, Turbo, Cool).

Collapsible Tree options

The Collapsible Tree options group with tree direction and expand-to-depth controls.
Tree options.
  • Tree direction — left to right, or top to bottom.
  • Expand to depth (default 2) — levels deeper than this start collapsed. Nodes can always be opened by clicking or from the keyboard.

World Map options

The World Map options group with map projection, show labels, and ocean, land and marker colour controls.
World Map options.
Setting Default Notes
Map projection Natural Earth Also Mercator, Equirectangular and Orthographic (a globe).
Show location labels On Turn off when markers are dense enough that labels collide.
Ocean / Land / Marker colour — The three colours of the map.

Step 4 — Preview and export

The preview is the real visualization, fully interactive. Click a circle to zoom, open a branch, or press play on the race.

The hierarchy visualizations

The collapsible tree preview with three numbered callouts marking the root node, a branch node and a node whose children are collapsed.
The Collapsible Tree, built from the Name and Parent columns.
  1. The root — the one row with an empty Parent.
  2. A branch — a row whose Parent is the root.
  3. A collapsed node — it has children, but they sit below the expand to depth setting. Click it to open.
The zoomable circle packing preview showing nested circles of differing size grouped inside larger circles.
Circle Packing — the same hierarchy, sized by value.
The zoomable sunburst preview showing concentric rings divided into coloured segments.
Sunburst — each ring is one level deeper.

The animated ranking

The bar chart race preview mid-animation, showing three bars with values and the current period displayed in the corner.
Bar Chart Race, caught mid-animation. The period is shown in the corner and items sharing a category share a colour.

The map

The world map preview with labelled markers of differing size at New York, London, Paris, Dubai, Tokyo, Singapore, Sao Paulo and Sydney.
World Map — markers sized by value.

Expected input structure

The expected input structure section showing the column list and sample rows.
The table your own article should contain.
The column annotations list pairing each column with a coloured swatch and its role.
What each column does. The swatches match the colours used in Step 2.

Save the ruleset

The save form with ruleset title, description and help fields.
The save form.

Using the ruleset on your own site

  1. In your site's administrator, open Tabulizer → Ruleset Manager and import the .zip you downloaded.
  2. Create or edit the article that will hold the visualization.
  3. Insert a table using the columns from the Expected input structure section.
  4. Apply the imported ruleset to that table.

Everything needed to draw the visualization ships with Tabulizer, including the world map outline, so an imported ruleset keeps working regardless of what happens to the online wizard.

Tips and troubleshooting

Nothing is drawn, or I get an error about the root

For circle packing, sunburst and tree, exactly one row must have an empty Parent. Check for a stray space in that cell — a space is not empty.

A branch is the wrong size

Leave Value blank on branches. A branch is sized by the sum of its children, so giving it a value of its own double-counts.

A node is missing from my hierarchy

Its Parent has to match another row's Name exactly — same spelling, same capitalisation is safest, and no trailing spaces. A node whose parent does not exist has nowhere to attach.

Two nodes have the same name

Name must be unique, because it is what Parent points at. Two “Support” nodes need distinguishing, for example “Support (EU)” and “Support (US)”.

My bars jump instead of sliding

Each name needs a row in every period. Fill the gaps — repeating the previous value is usually right.

The race is over too quickly, or drags

Adjust time per animation step. Remember one period takes roughly ten times that value, so 250ms is about 2.5 seconds per period.

My markers are in the wrong place

Latitude and longitude are probably swapped, or in the wrong format. Latitude is the north–south one and runs −90 to 90; longitude runs −180 to 180. Both must be decimal degrees.

The map labels overlap

Turn off show location labels, or increase the width and height so there is more room between markers.

My tree is too deep to read

Lower expand to depth so more of it starts collapsed, and let visitors open the parts they care about.

Related articles

  • Chart Wizard
  • Pricing Tables Wizard
  • Gallery Wizard
  • Calendars and Timelines Wizard
  • Contact Form Wizard
  • Calculator Wizard
  • Importing a ruleset into Tabulizer