News for hackers. Stuff that matters.

Golodhros

Re:Twenty years of my blog on Saturday June 18, 2022 @02:14PM (#31792334)
Congrats Simon!
Re:How Your Company Can Support Junior Engineers on Wednesday September 12, 2018 @12:50PM (#17970673)
What do you guys do in your company to support new engineers? Is there anything we are missing? We would love to hear the opinion of the community!
It should be fixed!
Hi antoaravinth, thanks for the question!

Totally! You could fork the library and modify the charts if that's what you need. The source code is based on the reusable API (https://www.eventbrite.com/engineering/leveling-up-d3-the-re...), and it should be easy for D3 developers to understand the code and extend it. Our development environment also provides with the demo pages that can be used as a sandboxed context, and you can make use of our current tests to keep the code well tested!

Regarding the drill down charts, in theory, is possible!

Actually, Britecharts is some months older than recharts ;)
I am interested on that, do you have some snippets or examples of it?
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @11:59PM (#14313751)
Hi Metafunctor, thanks for checking out Britecharts!

I am sorry that you just find our current bug with the build! We have an issue about that, and we will be trying to fix it ASAP. I totally understand, having all the charts available in one file is an important use case.

In the meanwhile, you can use the individual chart bundles, like '/dist/umd/bar.min.js' and either load it with require/commonJS or load it with a script tag (it would be assigned to document.britecharts.bar).

Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @04:08PM (#14311180)
Hi Cessor, thanks for the feedback!

We are super interested to know what we can do better on our docs, any feedback would be great!

What do you find is missing on the examples? Would you like more info about when to use each chart? Or more examples of the different configuration options?

Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @04:06PM (#14311167)
Makes sense! It's also good to know that this feature is such important!
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @04:05PM (#14311164)
It's coming! We have an issue with our webpack configuration and the way we create the 'whole' bundle, but it will be ready soon!
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @04:05PM (#14311156)
Thanks a lot!! :)
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:57PM (#14310164)
Hi Mgkimsal,

That's a great question! We at Eventbrite are looking into improving our accessibility, our designer Sun is pushing for it on this issue: https://github.com/eventbrite/britecharts/issues/168

In that link you can find some references about accessibility on other libraries and best practices.

Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:49PM (#14310084)
Hi Saltysalty, Thanks for the feedback! Totally, we want trees too!! Recently we saw an application for them in our product, so we will be pushing to include this chart on Britecharts soon!
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:46PM (#14310062)
Hi forvelin, Britecharts use case would be essentially the same. If you need a simple chart, you can use one of them out of the box. Although if you know a bit about D3, you could easily fork the chart and customize it to your needs, making use of our Demo page as a sandboxed test space and our current test suite for keeping the quality of your chart high!
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:43PM (#14310040)
Hi UntilHellBanned,

Thanks, we are super excited about releasing this project as Open Source, it's been such a trip!

Totally, D3.js is a fantastic low-level library and is super reusable in all senses (examples, low-level plugins, different reusability patterns). However, one of D3.js usability problems comes from its main advantage, how powerful it is!

This means that D3 has a very low-level granularity and a huge API, making it hard for newcomers to create a simple chart for a dashboard or a one-off data viz.

That's one of the reasons why we created Britecharts, to democratize D3.js charts, and at the same time, serve as a stepping stone to those who want to learn more about D3.

In our mind, using Britecharts, a junior developer could render a chart quickly, just doing d3 selections. Then, she can start tinkering with one of the charts and even create a new one, learning d3.js in the process.

Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:29PM (#14309943)
Hi Magsafe, Sadly not, and we don't have a mid-term plan to do it. From my research, the only charting library that supports React Native at the moment is Victoryjs: https://formidable.com/open-source/victory/
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:24PM (#14309893)
Thanks for the feedback Jacobolus! We will try to sneak something there soon! In your case, you would want it to see the 'looks' of the charts, or you would also want them to be editable?
Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:19PM (#14309860)
That's a great question, and we are preparing a write-up talking about the D3 libraries ecosystem at this moment. There is certainly a good amount of D3 libraries out there, and it could be frustrating to do some research on so many!

Specifically, stacked against C3, Britecharts has a more 'D3-like' API, while C3 is a lot more declarative. This means that on C3, we will render charts by passing large configuration objects, while in Britecharts we strive to use a different API, chaining settings like we do on D3.

Also, C3 hasn't been updated to D3 v4, and we can say it is an inactive project.

Re:Britecharts: D3.js based charting library of components on Wednesday May 10, 2017 @01:12PM (#14309808)
Hi usaphp,

Thanks for the bug report! I will create a ticket for it and check it out soon.

From what you said, it seems scrolling is triggering a viewport resize, so we will review our viewport resize listener on the demos (it's not really inside Britecharts).

Thanks again!

Older »