posit-dev / posit-dev/ggsql

Vegalite writer: Binned axis + boxplot result in half boxplot

Open
#520 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug writer
Dominant language
Rust
Stars
554
Forks
30
Avg merge
17h 27m
Merged PRs (30d)
8

Description

Spotted in the docs. A curious appearance of a half-boxplot even though full is requested in the binned docs. Perhaps an issue with vegalites band domain?

VISUALISE Date AS x, Temp AS y FROM ggsql:airquality
DRAW boxplot
SCALE BINNED x VIA date
  SETTING breaks => 'month'
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the example from the binned docs at https://ggsql.org/syntax/scale/type/binned.html and compare the rendered Vega-Lite specification for the boxplot. Investigate how the binned date x-axis band domain is handled, then verify that the same example renders a complete boxplot when full is requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.