Skip to main content
100%

Beer Style Explorer Pseudo-Viz

✓ Published0🌍 Public
Mmilepore@gmail.com
Last edited Oct 25, 2024
Created on Sep 20, 2024
Forked from Marks and Channels

The Beer Style Explorer pseudo-viz combines bar length and line marks to compare beer styles. Bars encode the number of reviews per style, while an overlaid red line uses y-position to show the average rating for each style. The visualization uses D3's `select` and `line` APIs, with `scaleBand` and `scaleLinear` for the axes, and `axisBottom`, `axisLeft`, and `axisRight` to render the chart. Both signals are presented on a shared categorical x-axis, with the line connecting the average ratings across styles.

AI-generated description

Creates a pseudo-viz using line marks Using length signal (on the bar lines) to show the number of reviews per beer Using the y-position signal (on the line chart) to show the average review per beer

MIT Licensed

Similar vizzes