benpickles / peity

Progressive <svg> pie, donut, bar and line charts

Home Page:http://benpickles.github.io/peity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Bullet Chart / Progress Chart

opened this issue · comments

Would it be possible to make a new chart type, based on this image:

image

I think it's called a bullet chart. Though really, what I'm doing is a progress chart.

I'd normally do a DIV with a % width but I feel an SVG is better suited for this task, especially on smaller screens. I think this chart type would suit Peity.

One of the points of Peity is that it's progressive and "upgrades" a simple string of numbers into something that's more visually useful and while it's possible to add many kinds of chart it looks like the data required by a bullet chart couldn't be meaningfully encoded as a simple list of numbers.

On the other hand a progress bar would be simple, see the docs for registering your own custom chart type. Pull requests welcome!

Ah I see. I'll have a play around.