Skip to main content
100%

d3 Fishbone diagram

✓ Published0🌍 Public
TThanaporn-sk
Last edited Oct 7, 2016
Created on Oct 7, 2016

A d3 Fishbone diagram visualizes hierarchical contributions to a central concept, using a force-directed layout with SVG nodes and links. The diagram is generated from Markdown via a CodeMirror editor, where list items become tree nodes that can be dragged. It uses d3.layout.force for positioning, d3.fishbone for the custom layout, and marked for parsing. The example includes animated transitions when editing and supports SVG export via SVG Crowbar.

AI-generated description
  • Make a bulleted Markdown list in the top left to update the list
  • Press edit to hide the editor
  • Press save to use SVG Crowbar to save a copy
  • Click to drag nodes

This is an integration of this implementation of a Fishbone or Ishikawa diagram, which shows contributions of different levels of a hierarchy to a main concept, with a Markdown editor for making quick diagrams.

The diagram is implemented in d3.js, while rich-text editing is provided by CodeMirror, and marked handles Markdown processing.

If you have insights, or make modifications, share them on the thread on the d3-js discussion group that spurred this work!

forked from <a href='http://bl.ocks.org/bollwyvl/'>bollwyvl</a>'s block: <a href='http://bl.ocks.org/bollwyvl/9265219'>A fishbone editor</a>

mit Licensed

Similar vizzes