Skip to main content
100%

Now Next Later Tasks

✓ Published1🌍 Public
EEric Zimmerman
Last edited Sep 25, 2022
Created on Sep 24, 2022
Forked from D3 Starter

This example visualizes a task hierarchy using a circular bubble layout, grouping tasks into “Now,” “Next,” and “Later” categories. The code uses D3 version 7’s `d3.hierarchy` and `d3.pack` (implied by circle diameters and nested children) to position bubbles, with `d3.forceSimulation` not present; instead, explicit sizing and layout are computed from the nested data. Each circle’s label font size adapts dynamically via `getComputedTextLength()` to fit within its bubble. SVG elements are rendered directly, with styling handled by the `taskgrouping.css` file and interactions initialized through jQuery’s `$(document).ready` pattern.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes