Published
Edited
Apr 28, 2021
1 fork
Insert cell
md`# Russia is number 1 in sucide Number
The data come from Kaggle [https://www.kaggle.com/szamil/who-suicide-statistics?select=who_suicide_statistics.csv]

The vizualization whic I have used to Find the insight @d3/barchart. I have used this vizualization to show the total number of sucide per country of all year combined from 1970-2017. The vizualization is created for my DS4200 Class at Northeastern University. The main audience for this work is my colleges in the class and my professor.

The main insight I have gained, from this vizualization, is that most of the sucide happened in Russia, also DEveloped countries are among the few to have the most number of sucide from year 1970-2017. I Created the bar graph to showcase the diffrence in sucide number with too 15 countries.

We can see that as the countries are getting more developed the more societies are happening across the states.

This show that which country has the highest number of sucide from the year 1970-2017 `


Insert cell
chart

Insert cell
CountrySucideData = FileAttachment("who_suicide_statistics.csv").csv()
Insert cell
navio(CountrySucideData)
Insert cell
CountrySucideData.map(d=>({name:d.country, value: +d.suicides_no}))
Insert cell
viewof df = aq.from(CountrySucideData)
.groupby("country")
.rollup({
value: d=> op.sum(d.suicides_no)
})

.view()
Insert cell
ChartData = df.objects()
.slice(0,15)

Insert cell
import {aq,op} from "@uwdata/arquero"
Insert cell
import {chart} with {ChartData as data} from "@d3/bar-chart"
Insert cell
import {navio} from "@john-guerra/navio"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more