You are viewing a single thread.
View all comments View context
3 points
*

Nice work. What if it was a line graph with x as the year, y as the percentage, and each line representing the different drug class? Would that be too many lines?

permalink
report
parent
reply
1 point
2 points
*

That’s great! Its not perfect but it quickly shows that cocaine and pain killers are the real ones making moves. Hallucinogens don’t appear to have changed much.

A stacked area chart would also work great.

permalink
report
parent
reply
0 points
0 points
*

Wasn’t much work tbh.

i just copy pasted the js back to highcharts chat gt and told it to change it to a line graph : https://jsfiddle.net/bra1sf03/

It might need to be told to put the time on the x axis though 😂

permalink
report
parent
reply

Interesting Shares

!interestingshare@lemmy.zip

Create post

Share interesting articles, projects, research, pictures, or videos.


Please include a prefix in your title!


Prefixes for posts

Certain clients offer filters to make prefixes searchable. Photon (m.lemmy.zip) used for hyperlinks below:


Icon attribution

Community stats

  • 705

    Monthly active users

  • 505

    Posts

  • 1.6K

    Comments

Community moderators