cmda-tt / course-17-18

🎓 Frontend 3 · 2017-2018 · Curriculum and Syllabus 📊
https://cmda-tt.github.io/course-17-18/
Other
39 stars 64 forks source link

Assessment 3 data: @kevingoldstein #543

Open kevingoldstein opened 6 years ago

kevingoldstein commented 6 years ago

Drug Use By Age

For the assessment I wanna use data of the Drug use by age. This dataset covers 13 drugs across 17 age groups. They say the newer Generation is using drugs at an younger Age than they did back in the days. I wanna visualize the situation of today and maybe add a visualization of the data from 1994 so that i can compare the two.

Data

Source: National Survey on Drug Use and Health from the Substance Abuse and Mental Health Data Archive.

Header Definition
alcohol-use Percentage of those in an age group who used alcohol in the past 12 months
alcohol-frequency Median number of times a user in an age group used alcohol in the past 12 months
marijuana-use Percentage of those in an age group who used marijuana in the past 12 months
marijuana-frequency Median number of times a user in an age group used marijuana in the past 12 months
cocaine-use Percentage of those in an age group who used cocaine in the past 12 months
cocaine-frequency Median number of times a user in an age group used cocaine in the past 12 months
crack-use Percentage of those in an age group who used crack in the past 12 months
crack-frequency Median number of times a user in an age group used crack in the past 12 months
heroin-use Percentage of those in an age group who used heroin in the past 12 months
heroin-frequency Median number of times a user in an age group used heroin in the past 12 months
hallucinogen-use Percentage of those in an age group who used hallucinogens in the past 12 months
hallucinogen-frequency Median number of times a user in an age group used hallucinogens in the past 12 months
inhalant-use Percentage of those in an age group who used inhalants in the past 12 months
inhalant-frequency Median number of times a user in an age group used inhalants in the past 12 months
pain-releiver-use Percentage of those in an age group who used pain relievers in the past 12 months
pain-releiver-frequency Median number of times a user in an age group used pain relievers in the past 12 months
oxycontin-use Percentage of those in an age group who used oxycontin in the past 12 months
oxycontin-frequency Median number of times a user in an age group used oxycontin in the past 12 months
tranquilizer-use Percentage of those in an age group who used tranquilizer in the past 12 months
tranquilizer-frequency Median number of times a user in an age group used tranquilizer in the past 12 months
stimulant-use Percentage of those in an age group who used stimulants in the past 12 months
stimulant-frequency Median number of times a user in an age group used stimulants in the past 12 months
meth-use Percentage of those in an age group who used meth in the past 12 months
meth-frequency Median number of times a user in an age group used meth in the past 12 months
sedative-use Percentage of those in an age group who used sedatives in the past 12 months
sedative-frequency Median number of times a user in an age group used sedatives in the past 12 months

My plan

My plan is to make a bubblechart with the numbers of users of all the age groups. If u click on the bubble that belong with that age I want to show a scatterplot that shows all the 13 different drugs and the percentage of users. If I can find the data from 1994 I wanna add that too in the graph with a filter. I also wanna implement a comparison option.