66
you are viewing a single comment's thread
view the rest of the comments
[-] Venator@lemmy.nz 3 points 5 months ago* (last edited 5 months ago)
[-] Venator@lemmy.nz 11 points 5 months ago* (last edited 5 months ago)

Created using Google lens to extract the text and then pasted it into https://www.highcharts.com/chat/gpt/

[-] blandfordforever@lemm.ee 3 points 5 months ago* (last edited 5 months ago)

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?

[-] Venator@lemmy.nz 1 points 5 months ago
[-] blandfordforever@lemm.ee 2 points 5 months ago* (last edited 5 months ago)

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.

[-] Venator@lemmy.nz 0 points 5 months ago* (last edited 5 months ago)

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 ๐Ÿ˜‚

[-] ickplant@lemmy.world 1 points 5 months ago
[-] Venator@lemmy.nz 1 points 5 months ago

Iduno if I'd go so far as to call it beautiful ๐Ÿ˜‚

[-] Venator@lemmy.nz 0 points 5 months ago

Also looks like chat gpt "fixed" the gap for 1989 and I failed to notice... Oops.

this post was submitted on 04 Apr 2024
66 points (86.7% liked)

Interesting Shares

816 readers
85 users here now

Companion community of !globalnews@lemmy.zip to share interesting articles, projects and research that doesn't fit the definition of news.

Icon attribution

founded 1 year ago
MODERATORS