4 ms·
I just wish all the cool animated examples of D3 were updated to use the latest version of the library. Mike had such cool and colorful ideas for the web 8 yea
by vmception 6y ago
I just wish all the cool animated examples of D3 were updated to use the latest version of the library.
Mike had such cool and colorful ideas for the web 8 years ago which still wow supporters of any project. But I have had to spend significant time and money updating things to work with Vue or React while simultaneously trying to figure out what changed across versions of D3 while simultaneously trying to figure out what the inherited version of D3 was even doing.
Mike seems to have opted for more practical designs in the latter half of the decade in his exploration of data visualizations. While other contributors lack inspiration of using this as an art form.
- mbostock 6y agoWe’ve updated hundreds of examples to the latest version. Here’s the gallery: https://observablehq.com/@d3/gallery https://observablehq.com/@d3/gallery We’re still in the process of republishing some of them and were hoping to announce tomorrow but it looks like someone noticed and here we are on HN.
- oatmealsnap 6y agoWow, thank you for sharing! I'm guessing those are all D3 5.x?
- mbostock 6y agoNearly all should be D3 6.0 now but there may be a few stragglers we haven’t republished yet.
- vmception 6y agoGood to see you here today, and glad to know that. Why ES2015 specifically? Like where are the compatibility issues or is this a necessary upgrade path for older versions and then you’ll phase into es6 or leapfrog that to something even newer? Or if ES2015 is “good enough”? Javascript can be a hot mess, there isn’t always a need to keep up and the troubles arise when you try to.
- harshitaneja 6y agoES2015 is ES6.
- vmception 6y agoThanks
- mbostock 6y agoCollections (Map and Set) and iterables; the latter practically requires for-of syntax and so can’t be supported in older browsers. d3.group and d3.rollup are much more enjoyable to use than d3.nest.
- vmception 6y agoIs this a consideration of many JS library maintainers? Or just you because D3 has broad appeal. This and other compatibility charts shows only Internet Explorer continuing to be the bane of your existence. https://kangax.github.io/compat-table/es6/ https://kangax.github.io/compat-table/es6/
- nicoburns 6y agoIE11 is still widely supported across a lot of the industry. It's use is declining, but I suspect it'll be a a good while yet before it disappears because there are still so many IE-only internal apps.