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

D3.js is great, DC.js is amazing. https://github.com/dc-js/dc.js

DC combines D3 and crossfilter for multidimensional filtering so you easily do things like click an element to use it as a filter for your other elements.




I think crossfilter is a huge success and amazing project, in spite of its small size. Why? The code hasn't been updated in 4 years and it still works.

You don't have to be constantly tweaking and tweaking everything all the time. Crossfilter is like the I-Beam of construction.

I wish we could do this with more computer science parts. Building something amazing and leave it alone. Move forward. Stop spending all our time inventing and learning new libraries, frameworks, architectures all the time and get stuff done!


This is a great goal to strive for. But to play devil's advocate, not all ideas and scopes are clear until several iterations in. Furthermore, some software projects carry around specific dependencies necessarily. If these dependencies are prone to change then there goes your stability. Given enough dependency incongruity, all projects die after a long enough period of non-maintenance.

You are totally correct by the way. I do agree that most software creators hand wave away the potential for their dependencies change faster than they can maintain their own product.


My mind was just blown because of D3.js, and now you're hitting me with DC.js? Mercy!!! (joke)

D3 is stunning. I've been looking for a nice visualization framework for some internal reports, and this (D3 or I guess DC) looks like a great tool to add some spice to boring charts.

Javascript frameworks are almost overwhelming in the numbers and functionality now widely available. If only there were more hours in a day to spend learning them.


Yeah, DC.js is fantastic and I've used it extensively at work to build a really useful data exploration tool in Electron + React + dc.js . We even ended up making custom plot types like ROC curves, box plots, canvas scatter plots (for faster perf) and sortable tables. The latter 2 I've contributed back to the community and posted examples on my personal blog / github.

I do wish that there was a way to handle NaN in crossfilter. The highly functional style codebase for dc.js also makes it pretty hard to wrap your mind around the codebase and easily extend it. Still, it is a really amazing library and I'm always amazed at how useful the software we've build on top of dc.js is for data exploration.


Hey, could you link that scatter plot extension? I couldnt see anything in your bio.

I've just been adding DC line charts and about to add scatterplots but was considering plotly.js instead. I'll be dealing with probably a couple thousand data points so performance may be critical?


Sure thing. This is the github repo with the drop-in replacement [1] (I think this is also likely to make it into dc.js at some point in the future but the project is currently held up entirely by one courageous soul who is obviously limited in how much time he can dedicate to it)

My (mostly abandoned) blog has a bit more info on it, but isn't critical reading [2]

[1] - https://github.com/HamsterHuey/dcjs-canvas-scatterplot

[2] - https://www.intothevoid.io/data-visualization/dc-js-canvas-s...


Thanks for sharing this! Besides examples shown here [http://dc-js.github.io/dc.js/examples/], is there another resource for DC.js where someone who is new to both D3.js and DC.js can check out the demos and source code like Highcharts demo here [https://www.highcharts.com/demo]?


Shameful plug here - and yes dc.js is great! An alternative web-component based approach to dc.js is available here: https://github.com/PolymerEl/multi-verse. It is still based on Polymer 2.0, migration to lit-element in the way.


"in the way" (interfering or obstructing) -> "on the way" (forthcoming / can be expected)

i->o is a common typo; here it could be negating the intended meaning!


I recall seeing your project almost 2 years ago. A bit of unsolicited advice - It would really help if your Github and docs page linked to a few actual interactive examples showcasing the different chart types supported, and the general capabilities of your library. Screenshots really don't do justice to projects like dc.js and your lib that hinge on interactions between users and charts/data.

It also appears that your demo for multi-chart is:

1. Broken

2. Blocked by most browsers and requires manual override of security suggestions (probably related to https and some sort of cross-domain things going on).

I'd be curious to see any working examples like the one dc.js has on it's main doc page. Cheers


Thanks a lot for your advice! Live demo used to be working on webcomponents.org - one service powering them has stopped working...

I launched this approx 2 years ago - using it in prod, but not had proper time to devote on better doc/demo/presentation. Looking forward to it during current migration to lit-element.


Awesome. Sounds good. Best of luck! I know that it's hard to find time for any of this stuff when it's all a labor of love in your free time.


It just reminds me how far Kibana has.. moved since v3 :(


Wow, thanks for this!




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

Search: