I am trying to find a way to visualize the data related to road accidents. The data has following dimensions:

Year Accident happened (Numeric) | Location of Accident (String) | Count of Accidents (Numeric) | Education Level of Driver (String)

I tried using the Google Bubblechart but that expects 3 numeric dimensions and the 4th dimension (can be number/string) is optional. Please suggest which visualization chart can be used for such data. Please note that I need to utilize any library that works on a web page (so not looking for Excel or such like option).

closed as off-topic by locationunknown, Joel Tebbett, Devin, Ken Mohnkern, JonW Sep 18 '17 at 12:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about Implementation are off-topic because this site is for User Experience design questions, not questions around how to implement these designs. Therefore, questions around the use of programs like Photoshop or languages such as CSS or JavaScript are off topic." – locationunknown, Joel Tebbett, Devin, Ken Mohnkern, JonW
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I'm not sure that there is an easily readable visualisation for four-dimensional data. The only way I can think of running it is to have each data point represented by x-pos, y-pos, radius, and colour - the data as read by your users will be largely interpretive - in other words they may be able to roughly compare two points but nothing more precise. On top of that you have to deal with the fact that the accepted colour ranges for data sets are often the same as those confused by colour blind users. I'd rethink the data set - maybe have two charts? – Andrew Martin Sep 15 '17 at 13:51
  • 2
    Although you might just be better off asking over in math.stackexchange.com – Andrew Martin Sep 15 '17 at 13:54

The challenge you will run into is that you have Temporal Data (Year of the accident) coupled with BOTH Categorical Data (Education Level and Location) and Continuous Data (Count of Accidents). This mix of Data Types will make coming with a meaningful visualization very challenging if not impossible. May be you should dissect the data to make lower dimensional meaningful visualizations.

Not the answer you're looking for? Browse other questions tagged or ask your own question.