JavaScript Graph

Open-source JavaScript projects categorized as Graph

Top 23 JavaScript Graph Projects

  • Chart.js

    Simple HTML5 Charts using the <canvas> tag

  • Project mention: Ask HN: What's the best charting library for customer-facing dashboards? | news.ycombinator.com | 2024-04-29
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • gun

    An open source cybersecurity protocol for syncing decentralized graph data.

  • Project mention: gun: NEW Data - star count:17470.0 | /r/algoprojects | 2023-10-28
  • Frappe Charts

    Simple, responsive, modern SVG Charts with zero dependencies (by frappe)

  • 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.

  • c3

    :bar_chart: A D3-based reusable chart library

  • Project mention: GitHub ダッシュボードのコミットをリアルタイムで追跡する | dev.to | 2024-05-30
  • madge

    Create graphs from your CommonJS, AMD or ES6 module dependencies

  • Project mention: Madge: Create graphs from your CommonJS, AMD or ES6 module dependencies | news.ycombinator.com | 2024-02-15
  • uPlot

    📈 A small, fast chart for time series, lines, areas, ohlc & bars

  • chart.xkcd

    xkcd styled chart lib

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • dsa.js-data-structures-algorithms-javascript

    🥞Data Structures and Algorithms explained and implemented in JavaScript + eBook

  • rickshaw

    JavaScript toolkit for creating interactive real-time graphs

  • litegraph.js

    A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.

  • Project mention: Show HN: Comflowy – A ComfyUI Tutorial for Beginners | news.ycombinator.com | 2024-01-03

    It's litegraph.js [1] and seems to be the only lib they include in /web [2] :

    [1] https://github.com/jagenjo/litegraph.js

    [2] https://github.com/comfyanonymous/ComfyUI/tree/master/web/li...

  • vizceral

    WebGL visualization for displaying animated traffic graphs

  • algorithms.js

    Atwood's Law applied to CS101 - Classic algorithms and data structures implemented in JavaScript

  • VivaGraphJS

    Graph drawing library for JavaScript

  • ngraph.path

    Path finding in a graph

  • Project mention: Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrapping | news.ycombinator.com | 2024-02-23
  • mini-graph-card

    Minimalistic graph card for Home Assistant Lovelace UI

  • Vizzu

    Library for animated data visualizations and data stories.

  • react-d3-components

    D3 Components for React

  • github-spray

    :octocat: Draw on your GitHub contribution graph ░▒▓█

  • Project mention: iFinallyDidIt | /r/ProgrammerHumor | 2023-06-24
  • VideoContext

    An experimental HTML5 & WebGL video composition and rendering API.

  • InteractiveGraph

    InteractiveGraph provides a web-based interactive visualization and analysis framework for large graph data, which may come from a GSON file, or an online Neo4j graph database. InteractiveGraph also provides applications built on the framework: GraphNavigator, GraphExplorer and RelFinder.

  • react-graph-vis

    A react component to render nice graphs using vis.js

  • Neurite

    Fractal Graph-of-Thought. Experimental Mind-Map for Ai-Agents, Web-Links, Notes, and Code.

  • Project mention: Q* Could Be It - Forget AlphaGO - It's Diplomacy - Peg 1 May Have Fallen - Noam Brown May Have Achieved The Improbable - Is this Q* Leak 2.0? | /r/singularity | 2023-12-08
  • ngraph.graph

    Graph data structure in JavaScript

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Graph discussion

Log in or Post with

JavaScript Graph related posts

  • What I learned in 6 months of working on a CodeGen dev tool GPT Pilot

    6 projects | dev.to | 29 Feb 2024
  • Madge: Create graphs from your CommonJS, AMD or ES6 module dependencies

    1 project | news.ycombinator.com | 15 Feb 2024
  • ArcadeDB: Multi-Model Database Supporting Graphs, KV, Documents, TS, and Vectors

    1 project | news.ycombinator.com | 4 Jan 2024
  • Show HN: Transform Notes into Visual Mind Maps

    1 project | news.ycombinator.com | 28 Nov 2023
  • A Beginner's Guide to the Serverless Application Model (SAM)

    7 projects | dev.to | 16 Aug 2023
  • Visualisation tool

    3 projects | /r/reactjs | 28 Jun 2023
  • iFinallyDidIt

    4 projects | /r/ProgrammerHumor | 24 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Graph projects in JavaScript? This list will help you:

Project Stars
1 Chart.js 63,783
2 gun 17,872
3 Frappe Charts 14,900
4 c3 9,326
5 madge 8,661
6 uPlot 8,539
7 chart.xkcd 7,581
8 dsa.js-data-structures-algorithms-javascript 7,519
9 rickshaw 6,534
10 litegraph.js 5,464
11 vizceral 4,060
12 algorithms.js 3,725
13 VivaGraphJS 3,720
14 ngraph.path 3,000
15 mini-graph-card 2,836
16 Vizzu 1,883
17 react-d3-components 1,632
18 github-spray 1,317
19 VideoContext 1,311
20 InteractiveGraph 1,036
21 react-graph-vis 934
22 Neurite 857
23 ngraph.graph 506

Sponsored
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io