Skip to main content
100%

Quick, Draw! d3 & SVG demo

✓ Published0🌍 Public
TThanaporn-sk
Last edited May 20, 2017
Created on May 20, 2017

This example visualizes hand-drawn faces from the Quick, Draw! dataset, rendering multiple strokes as smooth, gooey lines on an SVG canvas. It maps the raw drawing coordinates into point objects and uses `d3.line` with `curveBasis` to create the paths. The strokes are grouped and laid out in a grid, with a blur and color matrix filter applied to the entire group. Pan and zoom are handled via the `d3.zoom` API, and the code styles the groups directly for performance.

AI-generated description

A simple example showing one way to render some Quick, Draw! data with d3.js & SVG.

The data was prepared using ndjson-cli as documented here.

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/a2b28f0ed18b891f9fb70910f1b8886d'>Quick, Draw! d3 & SVG demo</a>

mit Licensed

Similar vizzes