Bullet

@nivo/bullet

Bullet chart supporting multiple ranges/measures/markers.

You can fully customize this chart using custom components via rangeComponent, measureComponent and markerComponent properties.

The responsive alternative of this component is ResponsiveBullet.

roll the dice
Actions Logs
Start interacting with the chart to log actions
Base
object[]required

Chart data.

number | 'auto'optionaldefault:0
auto

Minimum value.

number | 'auto'optionaldefault:'auto'
auto

Maximum value.

numberrequired

Chart width.

numberrequired

Chart height.

objectoptional
px
px
px
px

Chart margin.

stringoptionaldefault:'horizontal'

How to display items.

booleanoptionaldefault:false
   

Reverse chart.

numberoptionaldefault:30
px

define spacing between items.

numberoptionaldefault:0.4

define size of measure related to item size, expressed as a ratio.

numberoptionaldefault:0.6

define size of markers related to item size, expressed as a ratio.

Ref<SVGSVGElement>optional

Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.

Style
Axes
Title
Interactivity
Motion