FrontEnd Development
28.4K subscribers
144 photos
1 video
8.36K links
Полезные ссылки иHTML, CSS, JavaScript, TypeScript, Angular, React, Vue, Node.js, Mobile and more.

Admin: @andrey2019
Download Telegram
Smoothly Animate Thousands Of Points With HTML5 Canvas And D3
Sometimes in life, you’ve just gotta move thousands of points around on the screen. For hundreds of points, this can be accomplished with D3 through d3-transition on SVG nodes, but this typically becomes too slow when you need to animate more than a thousand points. So how do you do it?...Enter canvas... - https://goo.gl/tfeU1J

#html5 #canvas #d3js
Britecharts: A D3.js-Based Client-Side Charting Library
Based on D3.js v4 and built around reusable components, Britecharts makes it easy to declaratively build charts and visualizations, such as this. There’s lots of info in this introductory post too. - https://goo.gl/FO9WHu

#d3js #britecharts
The Hitchhiker’s Guide to D3.js
This guide is meant to prepare you mentally as well as give you some fruitful directions to pursue. There is a lot to learn besides the d3.js API, both technical knowledge around web standards like HTML, SVG, CSS and JavaScript as well as communication concepts and data visualization principles. - https://goo.gl/MPpLPm

#d3js #guide
6 weird tricks for insane chart performance
How do you like my clickbait title? While you are here, I want to share some tricks to handle larger datasets without locking the UI or slowing down your chart interaction...A lot can be done to optimize client-side rendering, and there’s a lot more we could discuss (caching, server-side rendering, aggregating, LOD, blitting, using shaders, using webcl, etc.). - https://goo.gl/O3wiZg

#d3js
How to create pure react SVG maps with topojson and d3-geo
Since d3 has been split into smaller components in v4, pairing it with react has become more streamlined. Making declarative SVG maps with react, topojson, and d3-geo has never been easier...This article will show you how to create pure react SVG maps with topojson-client and d3-geo. The techniques outlined here will help you make your own reusable SVG mapping components... - https://goo.gl/4VFWz4

#d3js #react #map
iD3 - an IDE dedicated for development in D3.js
iD3 is an open-source, cross-platform desktop application geared to simplify data visualization with D3 for non-JavaScript and JavaScript data scientists and analysts. With our integrated Python based data management system and custom generated attribute controls, iD3 supports the full process from importing your data to exporting your final presentation.. - https://goo.gl/wQy7nE

#d3js
billboard.js: A Chart Library, based on D3 v4+
A fork of C3.js focusing on ease of use and working with the latest D3. - https://goo.gl/bXQrsq

#javascript #d3js
What's So Hard About Histograms?
Histograms are a way to summarize a numeric variable. They use counts to aggregate similar values together and show you the overall distribution. However, they can be sensitive to parameter choices! We're going to take you step by step through the considerations with lots of data visualizations... - https://goo.gl/WzjYvk

#d3js
Presenting the d3.loom chart - A new plugin to create butterfly, fan-like, axe shaped charts
I’d like to “formally” introduce and explain a new (and my first) d3 plugin to create a chart that I’ve started calling “the loom”...The loom layout is meant to create a chart with a group of entities in the center and different group of entities on the outside. They are connected by strings where the thickness of the string on the outside represents the connection (i.e. value) of the inner and outer entity... -
https://goo.gl/yi4hXp

#d3js
Geographic - D3's approach to rendering geographic information
This chapter looks at D3’s approach to rendering geographic information...D3’s approach differs to so called raster methods such as Leaflet and Google Maps. - https://goo.gl/EpeLX2

#d3js #geo
Panning and Zooming with D3v4
All that’s necessary for panning and zooming is a translation [tx, ty] and a scale factor k. When a zoom transform is applied to an element at position [x0, y0], its new position becomes [tx + k × x0, ty + k × y0]. That’s it. Everything else is just sugar and spice on top of this simple transform...The major difference between zooming in D3v3 and D3v4 is that the behavior (dealing with events) and the transforms (positioning elements) are more separated. In v3, they used to be part of the behavior whereas, in v4, they’re part of the element on which the behavior is called...To illustrate, let’s plot 4 points. The rest of this post will only deal with data in one dimension... - https://goo.gl/aPwY5R

#d3js #zooming #panning
D3 zoom — the missing manual

After watching Nadieh’s talk at Beyond Tellerrand all about data visualisation I was excited to come across this article detailing how zoom and scaling work with SVG and Canvas. - https://goo.gl/RnG6kW

#d3js
Drawing Better Looking Curves

I’ve recently been learning about how to draw smoother curves that look more appealing…A common technique in professional CAD and font design software is to use a visualisation technique called a curvature comb to see how sharp or flat a curve is along its path…Here’s an example of a curvature comb being used in Fontlab VI to smooth out bumpy spots in a font…To explain how this works, let’s explore how Bézier curves work using SVG and D3… -
https://goo.gl/79AUTX

#d3js
I wrote some code that automatically checks visualizations for non-colorblind safe colors. Here’s how it works

Earlier this week we released a new feature at Datawrapper that checks colors used in charts or maps for problems with colorblind readers. If problematic colors are found, a warning sign is shown that leads to a colorblind simulation view that helps our users find better colors. This blog post explains how the code works. Perhaps this can open a discussion for future improvement. I also hope that other tools will follow Darawrapper on this path towards more automated accessibility testing. - https://goo.gl/a64m1r

#d3js
Bringing Together React, D3, and Their Ecosystem

D3.js is a de facto standard for building complex data visualizations on the Web and while bringing it together with React can be challenging, there are many ways to do it successfully. - https://goo.gl/m3xCB3

#d3js #react
How to Make a Beautiful Bar Chart With The Most Powerful Visualization…

Let’s make a visualization you won’t be ashamed to show. - http://amp.gs/XWvk

#d3js