Backbone.js VS d3

Compare Backbone.js vs d3 and see what are their differences.

Backbone.js

Give your JS App some Backbone with Models, Views, Collections, and Events (by jashkenas)

d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada: (by d3)
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.io
featured
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.
www.influxdata.com
featured
Backbone.js d3
22 277
28,090 107,679
- 0.2%
7.8 8.0
2 months ago 11 days ago
JavaScript Shell
MIT License ISC License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Backbone.js

Posts with mentions or reviews of Backbone.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-17.
  • Ask HN: What are some of the most elegant codebases in your favorite language?
    37 projects | news.ycombinator.com | 17 Jun 2023
  • React is 10 years old
    3 projects | news.ycombinator.com | 30 May 2023
    Got it thanks for the context.

    I've read the web app and it seems to me it is just https://backbonejs.org/ re-written in Typescript and allows JSX.

    I'm very certain Typescript and JSX will have improved the DX for Backbone like apps, but it doesn't address all of the other issues that teams had with Backbone.

    e.g. Cyclical event propagation, state stored in the DOM (i.e. appendChild is error prone in large code bases), etc.

  • Just Simply – Stop saying how simple things are in our docs
    3 projects | news.ycombinator.com | 30 Apr 2023
  • The Emperor's New Library
    5 projects | dev.to | 13 Feb 2023
    What we see, a decade ago, are that many of the "popular" libraries, frameworks, and methods, not surprisingly, have gone by the wayside, a lot that have remained in current code as difficult-to-removemodernize legacy cruft (Bower, Gulp, Grunt, Backbone, Angular 1, ...), and then we have the small minority that are still here. Some that remain have had their utility lessened/questioned by platform and language improvements (jQuery, lodash, ...), but very, very few exist that are the same now as they were then. Another fun historical reference: issue #118 of "JavaScript Weekly" (February 22, 2013) includes a first link out to asm.js.
  • How To Choose The Right Framework For Your Next Node.js App.
    8 projects | dev.to | 23 Sep 2022
    Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. site Backbone.js *Backbone.js gives structure to web applications by providing models with key-value binding and custom events…*backbonejs.org
  • Ajax requests fail after upgrading to Cordova 5.0 + [email protected]
    1 project | /r/codehunter | 13 Sep 2022
    The ajax request is made via a call to Backbone.sync() of Backbone.js, which ultimately calls jquery's $.ajax(). I haven't changed anything about how the call is made... just upgraded cordova.
  • Rate my build? Web dev GF recomends it.
    1 project | /r/pcmasterrace | 18 Jul 2022
    my gf said it was the best. she uses backbone.js she good dev
  • Top 5 JavaScript Frameworks for Frontend in 2022
    4 projects | dev.to | 14 Jun 2022
    Backbone.js
  • Why do we need a Single Page Application? [closed]
    3 projects | /r/codehunter | 15 Mar 2022
    A lot of SPA frameworks and libraries also were developed. We can find out some of its on the internet. They are AngularJs, Reactjs, BackboneJs, DurandalJs,.. and a lot of third party components to make the Javascript coding more easy like RequireJs, Amplifyjs, BreezeJs...
  • Angular: A shift in paradigm
    3 projects | dev.to | 13 Mar 2022
    As the internet became faster, and more reliable, and as browsers unified into “evergreen” releases, developers accepted JSON to be the only shape of data needed to travel on wires. A few years back I posted a question of which was a better framework: serving fully processed HTML scripts over Ajax, or only JSON that would be populated on client-side. See, back then, populating JSON was hand crafted, before Knockout, before Backbone, and few other players I don’t recall. The thing you could use back then was Mustache-like, which -by the way- still is a favorite of mine when venturing outside of SPA zone.

d3

Posts with mentions or reviews of d3. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.
  • A visual guide to Vision Transformer – A scroll story
    1 project | news.ycombinator.com | 16 Apr 2024
    Yes this was done with a combination of GSAP Scrolltrigger https://gsap.com/docs/v3/Plugins/ScrollTrigger/ and https://d3js.org/
  • Ask HN: Tips to get started on my own server
    19 projects | news.ycombinator.com | 25 Mar 2024
  • Full Stack Web Development Concept map
    11 projects | dev.to | 23 Mar 2024
    d3 - very power visualization library enabling dynamic visualizations. docs
  • Observable 2.0, a static site generator for data apps
    17 projects | news.ycombinator.com | 15 Feb 2024
    Yep, Evidence is doing good work. We were most directly inspired by VitePress; we spent months rewriting both D3’s docs (https://d3js.org) and Observable Plot’s docs (https://observablehq.com/plot) in VitePress, and absolutely loved the experience. But we wanted a tool focused on data apps, dashboards, reports — observability and business intelligence use cases rather than documentation. Compared to Evidence, I’d say we’re trying to target data app developers more than data analysts; we offer a lot of power and expressiveness, and emphasize custom visualizations and interaction (leaning on Observable Plot or D3), as well as polyglot programming with data loaders written in any language (Python, R, not just SQL).
  • Using Deno with Jupyter Notebook to build a data dashboard
    5 projects | dev.to | 17 Jan 2024
    D3.js: A robust library to visualize your data and create interactive data-driven visualizations.
  • What is the technology stack used to create these live charts?
    2 projects | /r/learnprogramming | 10 Dec 2023
    They are images so it could be any number of things, datawrapper, charts.js, d3.js to name a few options.
  • Animated map showing frequency and location of births around the world [OC]
    1 project | /r/dataisbeautiful | 5 Dec 2023
    I made this interactive visualization that attempts to show the real-time frequency and location of births around the world. A country’s annual births (i.e. the country’s population times its birthrate) were distributed across all of the populated locations in each country, weighted by the population distribution (i.e. more populated areas got a greater fraction of the births). Data Sources and Tools Population and birthrate data for 2023 was obtained from Wikipedia (Population and birth rates). Population distribution across the globe was obtained from Socioeconomic Data and Applications Center (sedac) at Columbia University. Data is processed and visualized at a 1 degree x 1 degree resolution, each of which has a different probability of a birth occurring in a specific time period. D3.js was used to create the map elements and html, css and javascript were used to create the user interface.
  • How do you implement library types?
    2 projects | /r/typescript | 3 Dec 2023
    When I go to the homepage of types/d3 the only hint for any kind of documentation is what seems to be the main github page of d3. It's highly possible I'm missing something here, so sorry if I am but I can't find any documentation of how you are supposed to type these library objects.
  • The top 11 React chart libraries for data visualization
    10 projects | dev.to | 5 Oct 2023
    Website: D3.js official site
  • Frontend development roadmap
    9 projects | /r/learnprogramming | 2 Oct 2023
    D3js

What are some alternatives?

When comparing Backbone.js and d3 you can also consider the following projects:

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

echarts - Apache ECharts is a powerful, interactive charting and data visualization library for browser

Next.js - The React Framework

GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.

Svelte - Cybernetically enhanced web apps

vis

Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]

d4 - A friendly reusable charts DSL for D3

React - The library for web and native user interfaces.

svg.js - The lightweight library for manipulating and animating SVG

spine - Lightweight MVC library for building JavaScript applications

sigma.js - A JavaScript library aimed at visualizing graphs of thousands of nodes and edges