say I have the following data:
CAR_TYPE, #rentals, AMOUNT CLASS_1 350 $0.7M CLASS_2 220 $1.3M CLASS_3 55 $0.4M
What graph would you use in order present this data? One option would be a pie-chart but as you can see from the data, the charts would be totally different --depends on the emphasis: numer of rentals or Amount.
Q: In general, having 2 variables for one TYPE what should be the preferred graph.
*I'm trying to achieve this in matlab (or python) but the concept is more important now then the actual implementation.
preguntado el 10 de marzo de 12 a las 03:03
For 2 variables (x, y) associated with each type (point) I would use a scatter plot. I would prefer a scatter plot if there are a lot of points (say 100). So the x-axis could represent #rentals, the y-axis could represent AMOUNT, and the intersections could represent the car types.
You can use a bar/column chart that looks like this: