r/d3js • • Mar 26 '23

D3 is going to be made irrelevant by its dependence on Observable

97 Upvotes

I have taught data visualization to undergrads for many years. I used to enjoy teaching them D3 as one very useful approach to this — it had such a wonderful mixture of power and flexibility. I stopped teaching the class for a few years, and I'm back in it again, and I'm looking into using D3.

And after several days of looking at how it is done now, I've come to the conclusion that it's just not viable. Why? Because of fucking Observable and the fact that every answer, every example, every manual page for how to use any modern version of D3 is entirely tied to what is by all accounts a "toy" manual ecosystem.

Don't get me wrong. I think Observable is pretty neat as a tech product. If I wanted to make a modular system for showing people how to do data viz programming in bite-sized pieces, man, it would be great.

But I don't understand what it gets you beyond that. It is absolutely not something you could deploy in any kind of production mode. You cannot generalize any skills learned in Observable to regular programming. It is a hobby-horse dead-end. I cannot justify teaching my students both how to use Observable and how to use D3 given that Observable will be useful for exactly zero of them.

I've spent the better part of the last hour trying to figure out the best way to do some very basic things in modern versions of D3, and all I can find are Observable tutorials that absolutely do not easily convert to regular Javascript+HTML. And you know what? I'm giving up.

If it's this hard for someone who actually used to program in D3 quite a lot just a few years ago to figure out how to get basic stuff working, it's not going to be worth trying to teach it to someone new.

D3 is a tool. Observable is a toy. If D3 hitches itself to Observable as much as it has been, it will become a toy as well. Other things will appear to do what it does better.

/end frustrated rant


r/d3js • • Sep 07 '25

The open-source workflow automation software

77 Upvotes

r/d3js • • Mar 15 '21

I made a website that builds a link-network while you browse Wikipedia (force-directed graph)

73 Upvotes

r/d3js • • Jan 04 '26

The rent is too damn high: a d3.js visualisation I did for rent in NYC

Post image
62 Upvotes

r/d3js • • Aug 07 '22

Resources, Courses, Tips, Guide Unofficial List of Resources For Learning/Using D3.js: Tutorials, References, Tools

58 Upvotes

Learning D3 from scratch is not easy - breaking API changes mean that examples and tutorials are frequently outdated, and the advent of Observable means that official examples from recent years are not directly runnable.

I've decided to write up a list of tutorials, references, and tools for learning and using D3. These are resources I've used for learning and teaching D3 in college. I hope that this is useful for anyone trying to get started with D3.

Check it out here

It would be nice if we could get a list of resources for beginners pinned or in the sidebar (doesn't have to be this list), but I'm not sure if the mods are active.


r/d3js • • Jan 01 '26

g3: Steam gauges with D3js

Thumbnail
gallery
54 Upvotes

Got a bit obsessed building steam gauges for a flight sim and ending up building this flexible toolkit with d3 a while back. Recently spent some time updating it. You can find source at https://github.com/patricksurry/g3 and live demos of the speedmaster watch and aircraft panel


r/d3js • • Jan 20 '25

Making an audio-reactive visual with p5, d3, Three,js, and Ableton.

54 Upvotes

r/d3js • • Mar 28 '21

I made a tree graph note taking site with my friends! I am using it to organize the lecture for this semester.

39 Upvotes

r/d3js • • Feb 17 '25

Built a WhatsApp Dashboard with React, D3.js & Tailwind – Feedback appreciated

Post image
38 Upvotes

r/d3js • • Dec 20 '20

New mod here. Need your help to restart this sub. Kindly share your ideas and thoughts on how to make this sub a spam free and engaging place again.

38 Upvotes

r/d3js • • Dec 20 '19

25 Days of D3.js - Learn d3 in 25 lessons (free)

Thumbnail
link.medium.com
35 Upvotes

r/d3js • • Jun 28 '16

D3 v4.0.0 released

Thumbnail
github.com
35 Upvotes

r/d3js • • Jul 10 '21

An example of the versatility of this library: I made a game that's drawn using D3!

33 Upvotes

r/d3js • • Jan 11 '24

D3.js gpt

32 Upvotes

Hello! Chat GPT has opened up a GPT store and if you fancy some quick assistance I made a GPT for it. It was fine tuned to pull the recent docs from d3.js official doc page. If you are interested here is the link or just look up " D3.js Assistant " in the GPT store. Any feedback is appreciated, have a good day.


r/d3js • • Mar 21 '21

I made a tool with D3 to help me plan when to take photos of the Milky Way

Thumbnail
travisdoesmath.github.io
32 Upvotes

r/d3js • • Jan 08 '21

Racing line chart [Multiple comparing variables, gradient coloured lines, adaptive scaling of axes, icons and text interpolation]. ( source code in comments )

32 Upvotes

r/d3js • • Apr 07 '25

Earth's surface angular speed based on location – interactive tool made with D3

Post image
31 Upvotes

Showing off a thing I made with D3 to answer my kid's question.
Enter your location (city, town, etc) or drag the red handle to play around.
New to this, so feedback welcome!

https://whileandrey.com/dataviz/speedglobe/


r/d3js • • Dec 29 '22

Created a Vue, Vite, and D3.js starter for data visualizations [OC]

Post image
31 Upvotes

r/d3js • • Feb 03 '21

Celebrating 10 years of D3.js

Thumbnail
twitter.com
31 Upvotes

r/d3js • • Mar 02 '25

D3 + Observable: Navigating Quirks & Building a Hexbin Cartogram

Thumbnail
observablehq.com
30 Upvotes

r/d3js • • Jan 02 '25

I Made a GUI for the Tinkerer's Workshop in Terraria with d3.js

30 Upvotes

I used d3.js for the crafting trees, and it worked out wonderfully!

I made a video detailing the development process, if anyone is curious: https://youtu.be/D3qQfvJMpwY?si=_J-JANVv72pb-sX3

Here's the link to Tinkery: https://littlestring.github.io/Tinkery

Here's the link to the repo: https://github.com/LittleString/Tinkery


r/d3js • • Sep 06 '21

I've forked Square's Intro to D3.js tutorial and updated it for D3 v5-v7

29 Upvotes

Check out the tutorial here

Many years ago, Square made an excellent introductory D3 tutorial that covers everything from how the DOM works to data binding. It's a valuable resource for learning D3, but it hasn't been maintained in over 5 years and is stuck on D3 v4, so I decided to fork it and update it to reflect newer versions of D3.

In particular, D3 v5 added the selection.join() API, which greatly simplifies data binding compared to the old enter/merge/exit pattern. I've updated the content and examples in the tutorial to use the new selection API, among other changes.

The plan is to try and merge these changes upstream eventually, but since the parent repo is inactive I am also willing to maintain this fork in the future. Feel free to open issues/PRs for any corrections/changes.

Other Links:


r/d3js • • Feb 05 '20

The D3 Graph Gallery – Simple charts made in d3.js

Thumbnail d3-graph-gallery.com
28 Upvotes

r/d3js • • Mar 29 '22

After 30+ convos with r/d3js redditors giving me feedback on my free "look up any company's suppliers" tool, ImportYeti, I'm happy to announce ImportYeti Beta V4.0. I'd love any feedback on my visualizations no matter how brutal.

27 Upvotes

Here is the link to the original post: Original Post

You can find an example visualizations here: Lululemon's Supply Chain

If you missed the original post, ImportYeti is a free tool that allows you to search 70,000,000 bill of ladings to answer questions for pretty much any company you can imagine like:

  • Who makes Bass Pro Shop's 4 Burner Gas Griddle? Answer: Ningbo Huige Outdoor Products

  • I thinking of buying barbells from Nantong Leeton Fitness Co., the #1 ranking company on Alibaba for the term "barbell". Is Nantong Leeton Fitness Co. the right supplier for barbells? Answer: No. They are a big company but primarily sell resistance bands. Thus, they likely outsource their heavy metal work creating a more costly and potentially worse product.

  • Who are the top companies & suppliers who import/export under HS Code 42.02.92 -- trunks & suitcases?

Here are the BIG changes on this release:

  • A bunch of boring tech stuff to make ImportYeti more reliable and resilient for when y'all try to hug it to death. (Took way more time than originally thought)

  • Added country flags throughout the company and supplier pages (and soon to be on the search results)

  • Added CSV exports to the site (Please PM me for access to this. We have scraping issues and are not allowing all users to take advantage of this)

  • Tons of tiny bugs, usability problems and design issues (100+ in total).

  • Changed the donation system so it's less annoying

We think we've solved the majority of our large tech changes and hope to get back to a schedule of heavily iterating on the site, releasing much more frequently and heavy feature development.

I'd love any and all feedback (love or hate)... no matter how brutal, small or crazy, on how I can improve existing visualizations or create new ones. I only want to create things that people really love. If you enjoyed this tool, have any ideas for how to improve it, or found a bug/usability issue, I want to hear from you. Please PM me or comment below anytime.