I wanted to post this example for those who are making quiz apps or study apps. The ability to see your progress visually is uber important. This is why we have charts in the first place.
seeItLive
incorporating charts in the past has been difficult. Here is an easy example you can fork or use yourself to incorporate a correct/incorrect chart into your app. This is based on the standard celebration chart that is used in the world of Precision Teaching and Applied Behavior Analysis. This allows us to look at proportionate changes in the rates of our behavior.
Any easy way to think of this is: If i never get an answer to the test correct, but today I get 1, thats a pretty big deal. a 100% increase IMPRESSIVE. But what if i go from 99 to 100. that’s nothing. a 1% increase. this chart allows us to see differences in such a manner.
these are the only blocks you would need. first i load my data into lists, then i send it to the web viewer and let javaScript and C3.JS do the rest.
This is the only code. in your webviwer, call to the html file below
Note: those were all made Using C3JS charting libraries.
I will be posting an example using chartJS later today. The process is nearly the same. I have a working example but want to further config to show why I’m using it over C3. It is specifically due to the logarithmic charts and the Skewed scaling that occurs on the y-Axis.