python - What graph should represent a dataset with 2 variables? -


say have following data:

car_type, #rentals, amount class_1    350      $0.7m class_2    220      $1.3m class_3     55      $0.4m 

what graph use in order present data? 1 option pie-chart can see data, charts totally different --depends on emphasis: numer of rentals or amount.

q: in general, having 2 variables 1 type should preferred graph.

*i'm trying achieve in matlab (or python) concept more important actual implementation.

many thanks!

for 2 variables (x, y) associated each type (point) use scatter plot. prefer scatter plot if there lot of points (say 100). x-axis represent #rentals, y-axis represent amount, , intersections represent car types.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -