Skip to main content
100%

Simple d3.js Bullet Chart example v5

✓ Published0🌍 Public
Dd3noob
Last edited Nov 30, 2019
Created on Nov 30, 2019

Two bullet charts display CPU load and memory use as horizontal bars with shaded ranges, dark measure bars, and thin marker lines, all rendered as SVG. Built with d3.v5, the visualization uses a custom `d3.bullet` chart component that relies on `d3.scaleLinear` and `d3.json` to load data, with transitions animating updates when the "Update" button triggers `randomize` to regenerate marker and measure values.

AI-generated description

This is a simple example of a bullet chart derived from Mike Bostock's example and updated to work with d3.js v5

The code for the bullet.js script was parsed from Martin Meier's v4 code here.

mit Licensed

Similar vizzes