InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more →
Top 23 JavaScript D3 Projects
-
Just after college, I started working in a startup as Full-stack developer, and, was working on stuff related to Three.js library and AI. The pay was fine, the work was good, sometimes loved it because there was good amount of research required.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
Chart.js: Charting library
-
30-Days-Of-JavaScript
30 days of JavaScript programming challenge is a step-by-step guide to learn JavaScript programming language in 30 days. This challenge may take more than 100 days, please just follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
30 Days of JS preparation 30 Days of Javascript preparation that teaches JS topics in 30 days one topic per day, quite a good roadmap as well to learn JS from scratch.
-
Project mention: Pwning a Brother labelmaker, for fun and interop | news.ycombinator.com | 2024-07-05
-
p5.js
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
I selected this library as I normally use much higher-level tools to develop games such as p5.js, or GDevelop. Both these tools are amazing in their own right; however, I want to learn how these processes operate on a much lower level. These tools take care of a lot of issues for you ranging from asset to memory management. Raylib is still cross-platform but does not handle these tasks for the programmer which I feel will improve my programming skills.
-
Project mention: Ask HN: What's the best charting library for customer-facing dashboards? | news.ycombinator.com | 2024-04-29
Plotly is based on D3. Has both open-source version and paid option.
https://plotly.com/javascript/
-
Project mention: Learn SVG with 25 examples – How to code images in HTML | news.ycombinator.com | 2023-12-07
As a frontend dev who also works in UX and graphics from time to time, I find it helpful to be able to do both, looking at SVGs as both a vector graphics format and a human-readable XML. IME the workflow depends more on whether any SVG is meant to be illustrative (like art) or quantitative (like charts) or interactive and animated/mutable (like a game).
For something like this bell example (https://svg-tutorial.com/svg/bell), you can certainly hand-code it if you're really math-inclined and can estimate the formulas of curves just by looking at them, but for us mere mortals, it's easier to just draw out the curves in a graphics app then export as an SVG. And for things like the ringer (is that what you call it? the orange ball thing at the bottom of the bell that strikes the bell to make the sound), being able to visually draw it on a canvas, change its size, drag it around and play with its colors and dimensions, etc. is really helpful. Figma is fine for simpler graphics, but it's really more of a UX tool than a graphic design tool, and Illustrator is a lot more powerful. Inkscape is a FOSS option.
In other circumstances, though, manipulating the SVG XML directly is also very helpful. Let's say you want to programatically generate a bar chart. If you have a big dataset, it's going to take a designer forever to manually plot them and change them every time the data changes. But it's easy for a dev to use Javascript (or any language) to draw each rectangle, programmatically adjust their heights and colors based on the data, add tooltips, etc. And that way you can dynamically update them in real-time whenever the data changes (like if the user selects a different date range, or new events come in). A lot of this is made easier by libs like https://frappe.io/charts or https://apexcharts.com. But before you take that approach, you should know that for complex charts, sometimes Canvas rendering (or just generating graphics in the backend) can be more performant than SVG.
SVGs can also be animated and interactive, not just with CSS transitions but by directly manipulating the XML geometries, like http://snapsvg.io/demos/ or https://www.svgator.com/ or https://codepen.io/collection/XpwMLO/. This is fine for product pages and such, but for really graphics-intensive apps (full games) it's probably slower than other rendering pipelines. (Not my specialty, won't speculate too much.)
TLDR Drawing them in a graphics app is usually easier for the designers, but the XML can be programmatically manipulated afterward to great effect.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
paper.js
The Swiss Army Knife of Vector Graphics Scripting – Scriptographer ported to JavaScript and the browser, using HTML5 Canvas. Created by @lehni & @puckey
-
-
Project mention: Vega – A declarative language for interactive visualization designs | news.ycombinator.com | 2024-08-23
-
-
-
-
Project mention: Show HN: A JavaScript library for data visualization in both SVG and Canvas | news.ycombinator.com | 2024-04-11
> DOM-like event bubbling
This does sound very interesting. I started playing with https://two.js.org/ for a browser game but the event system proved a challange. The typescript focus also looks promising. Will give it a try.
-
-
-
-
-
-
-
-
Yeah, the github repo is a much better link for this, as it explains what it is. https://github.com/alexlenail/NN-SVG
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
JavaScript D3 discussion
JavaScript D3 related posts
-
How to implement Drill Anywhere in React/ChartJS/RestBI
-
Solar system with Three.js
-
Py5, a Python version of Processing for your creative coding projects
-
Three.js – JavaScript 3D Library
-
Three.js: A Lightweight JavaScript Library for 3D Graphics on the Web
-
Build a Finance Tracker with Next.js, Strapi, and Chartjs: Part 2
-
Paper.js
-
A note from our sponsor - InfluxDB
www.influxdata.com | 10 Sep 2024
Index
What are some of the best open-source D3 projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | three.js | 101,541 |
2 | Chart.js | 64,318 |
3 | 30-Days-Of-JavaScript | 42,584 |
4 | fabric.js | 28,638 |
5 | p5.js | 21,408 |
6 | plotly.js | 16,856 |
7 | Frappe Charts | 14,921 |
8 | paper.js | 14,415 |
9 | raphael | 11,260 |
10 | vega | 11,157 |
11 | svg.js | 11,032 |
12 | trianglify | 10,063 |
13 | c3 | 9,338 |
14 | two.js | 8,283 |
15 | dc.js | 7,421 |
16 | nvd3 | 7,219 |
17 | rickshaw | 6,531 |
18 | heatmap.js | 6,210 |
19 | flot | 5,939 |
20 | cubism | 4,933 |
21 | Frappe Gantt | 4,598 |
22 | NN-SVG | 4,492 |
23 | d3-cloud | 3,820 |