Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart package: dot plots #469

Closed
schanzer opened this issue Apr 29, 2023 · 3 comments
Closed

Chart package: dot plots #469

schanzer opened this issue Apr 29, 2023 · 3 comments

Comments

@schanzer
Copy link

CODAP has really driven home the value of dot plots. Would be amazing to have someone tackle this.

@ds26gte
Copy link
Contributor

ds26gte commented Oct 9, 2024

The following text by Flannery and @schanzer is repeated here from Curriculum issue bootstrapworld/curriculum#2205 as it better belongs here:

Here's what they look like / how we teach about them in CODAP:
https://www.bootstrapworld.org/materials/spring2024/en-us/lessons/codap-dot-plots-bar-charts-codap/index.shtml?pathway=false

Added spec from Emmanuel:

We should add a dot-plot-series type, with fields for labels and color. If the data is categorical, the labels should be processed in the order they are given. If the data is quantitative, the min and max values should define a standard x-axis. For each location on the axis (or each label), the number of matching values should be represented as solid circles of whatever color was specified. Resizing the chart window should stretch the axes, but not deform the circles into ellipses.

ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 9, 2024
…he dot-chart option set brownplt#469

chart.arr: Added dot-chart-from-list()
dot-chart-test.arr added
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 10, 2024
@ds26gte
Copy link
Contributor

ds26gte commented Oct 21, 2024

(I plan to add to this PR a dot chart that accepts numerical (as opposed to categorical) input values, after ironing out details about the input arg signature)

ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 23, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 24, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 25, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 25, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Oct 28, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 4, 2024
…e +ve brownplt#469

- use ranges for labels instead of midpt
- use test from curriculum animals dataset
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 7, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 9, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 11, 2024
…Stack y-columns if x's colliding w each other (because of resizing) brownplt#469
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 13, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 13, 2024
…rdered. No frequencies brownplt#469

Also, no distinction for non-binned charts. Every chart responds to resizing
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 13, 2024
…of the previous dots (because input is not guaranteed to be sorted) brownplt#469
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 13, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 13, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 14, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 14, 2024
ds26gte added a commit to ds26gte/code.pyret.org that referenced this issue Nov 14, 2024
@schanzer
Copy link
Author

schanzer commented Jan 9, 2025

@ds26gte and I completed this in November

@schanzer schanzer closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants