Hacker News new | past | comments | ask | show | jobs | submit login

huh?

People using d3.js as a library for generic data binding UI? It's technically possible I guess, but the API, with its enter, update, delete paradigms, is very much data viz centric. Not the best option for a general front-end UI library.




As a matter of fact, I use it to build web apps and it works pretty well:

https://paradite.github.io/hn-ratio/

Source code (87 lines of JS):

https://github.com/paradite/hn-ratio/blob/master/app.js

A sudoku solver I built with d3.js a few years ago:

http://paradite.github.io/sudoku/

I think d3.js really striked a balance between raw jQuery/JS and full-featured React/Vue.

I would recommend using it for building small-medium sized web apps with heavy data-centric UI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: