Skip to main content
100%

D3 Marks & Channels

✓ Published0🌍 Public
SSubhendu Karmakar
Last edited Jan 23, 2024
Created on Jan 22, 2024

This example demonstrates five fundamental D3 marks and encoding channels using a small array of numbers. It shows circles positioned along the x-axis and y-axis, circles scaled by area, rectangles representing length, and symbols displaying different shapes. The visualization uses D3 v7 with the `select`, `symbol`, and `symbolsFill` APIs to bind data and generate SVG elements. The data is a simple fixed set of integers, rendered as multiple separate SVG canvases, each focusing on a distinct mark and channel combination.

AI-generated description
MIT Licensed

Similar vizzes