Skip to main content
Public

Share visualization

Loading preview…

Chord Diagram Observable Port

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Chord Diagram Observable Port

0
CCurran Kelleher
Last edited Jul 8, 2025
Created on Jul 8, 2025
Forked from Clickable Circles

This chord diagram visualizes directed relationships among four hair-color groups using a matrix of interaction values. Built with D3 v7, it renders arcs for each group and ribbons showing bidirectional flows, with hover highlighting related chords and click-to-select filtering. The visualization uses `d3.chord`, `d3.arc`, and `d3.ribbon` generators, includes tick marks with formatted value labels, and displays tooltips on both arcs and ribbons. Data originates from a static 4x4 matrix with named groups and custom colors, ported from an Observable notebook to vanilla JavaScript.

AI-generated description

This example was ported from the original Observable: Chord Diagram II to Vanilla JavaScript using AI (Claude 4 Sonnet in VizHub AI).

An interactive chord diagram implementation using D3.js showing directed relationships among groups. This visualization is adapted from the Observable notebook and follows a unidirectional data flow pattern.

Features

  • Interactive group selection by clicking on arcs
  • Hover effects on both groups and chords
  • Responsive design that adapts to container size
  • Tooltips showing values and relationships
  • Tick marks and labels for value reference

Data Structure

The visualization uses a matrix format where each cell represents the relationship strength between groups:

Comments

Sign in to join the discussion.

MIT Licensed