Creating pie charts with "row-oriented" data
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
This isn't a super high priority, but I wanted to make sure I wasn't missing something. I have data that comes from a source where I cannot modify it's output. The data are "row-oriented" and look like this:
```
"count","publishing_status"
200,"Published"
300,"Not Published"
```
Pretty simple. I want to make a pie chart out of this, but from what I can tell, pie charts accept column oriented data such that the above works best when transformed this way:
```
"publishing_status","Published","Not Published"
"count",200,300
```
It should be simple enough for me to transpose the data myself before giving it to C3, but before I do so, I wanted to make sure I wasn't missing something or doing something wrong. Specifically is there a way via configurations to feed the data in the first example so that the pie chart expects row-oriented data. Put another way, can I make the first example work in pie charts without writing my own little transpose function.
Contributor guide
Assessment
This issue has not been assessed yet.