Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Gauge charts in JS: reducing number of sections?

I’m trying to create a gauge chart like this:

however I only want three ‘sections’, not six as in the example. I’ve tried just populating the values array with fewer values but the results don’t work. What is the ‘rule’ for how to change the number of sections?


Ok I think I figured this out. It’s an illusion: the gauge apparently has a 180 degree white section in the bottom, so it appears to only occupy the upper 180 degrees, but it really occupies the full 360.