Skip to main content
100%

PseudoViz: Radar Chart

✓ Published1🌍 Public
KK Munz
Last edited Feb 27, 2023
Created on Feb 27, 2023

This pseudo-visualization displays four radar shapes in a square SVG, each representing a media item with values for attributes C, S, D, and A on a scale of 0 to 6. The chart uses `d3.line` to construct closed paths, with `scaleLinear` mapping attribute values to horizontal and vertical coordinates, and `scaleOrdinal` with `schemeDark2` assigning distinct stroke colors. The data is hardcoded in `radarData`, with no scales or legend yet.

AI-generated description

Radar Chart Psuedo Visualization!

With some pointers from this tutorial: https://yangdanny97.github.io/blog/2019/03/01/D3-Spider-Chart

And some help from ChatGPT on css properties. All css properties with a comment were from the friendly chatbot!

Next week: real data, scales, and a legend...

MIT Licensed

Similar vizzes