score:-1

Accepted answer

In bullet.js, there is a bulletRanges() function, where you can change the ranges manually. In the example, it is changed in the randomize() function:

function randomize(d) {
  if (!d.randomizer) d.randomizer = randomizer(d);
  d.ranges = d.ranges.map(d.randomizer);  //This changes the ranges in the SVG datum.
  d.markers = d.markers.map(d.randomizer);
  d.measures = d.measures.map(d.randomizer);
  return d;
}

To update the chart with the data, svg.call(chart) is then invoked.


Related Query

More Query from same tag