6 ms·
I've been in love with D3.js and have used it as the key technology for dozens of data visualization projects, both commercial and personal. However, its render
by stared 2y ago
I've been in love with D3.js and have used it as the key technology for dozens of data visualization projects, both commercial and personal. However, its rendering syntax now feels dated, reminiscent of the jQuery era. While I still use various auxiliary functions (e.g., for ease or scaling), I now create actual components in a modern framework (in my case, Vue 3 and TypeScript).
Despite this shift, I am grateful to D3.js for the beautiful years it gave me and for teaching me various good practices in data visualization. The defaults and demos by Mike Bostock have been both an inspiration and an example of good standards, aligned with Tufte's minimalism.
- pj84 2y agoI am very interested in this, do you have any examples for vue3 and typescript + d3 auxiliary functions? Thanks!
- stared 2y agoWell, see my current work in progress: https://github.com/stared/balfolk-viz/blob/main/src/components/DanceAnimation.vue https://github.com/stared/balfolk-viz/blob/main/src/componen... and D3 part in https://github.com/stared/balfolk-viz/blob/main/src/scripts/positions.ts https://github.com/stared/balfolk-viz/blob/main/src/scripts/....