I need to create a query that makes a graph from the given dataset that shows whether crime has increased or decreased over the time the data was recorded but I only know how to get tables. Or if there is a better way to show adjusted crime rates over the time period
.sql dataset with diagram: h ttps://drive.google.com/open?id=18sA-lNaBWyub87Qddg_kn2OY04jhmU3z
To be honest I'm a beginner and this is to help conceptualize the data into something graphical
I think a split pie chart to show crimes would be a great statistic but I cant seem to make one appear. I have already forwarded my database into .sql and applied the data. I edit the same query afterwards I know but I dont know how to put the data into and display the chart
Normally you make a SELECT statement to extract the relevant data from the tables.
Then you use the resulting dataset in a tool that can graphically represent data, like Excel or Power BI, ...
Let's assume you use Excel.
In Excel you have a wide choice of graphical representations to choose from.
Heh... Tableaux... That's a wee bit expensive, yes?
I guess the simple method here is to use Excel to call a stored procedure from the server and have it drop the data in the range on the spreadsheet that feeds a graph.