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

Create an aster plot short code #69

Closed
robyngit opened this issue Jul 28, 2021 · 1 comment
Closed

Create an aster plot short code #69

robyngit opened this issue Jul 28, 2021 · 1 comment
Assignees
Labels
aster plot Relates to the aster plot showing scores for all goals for each region data viz Related to any of the D3 data visualization elements priority: high An issue that is of high importance or urgency templating

Comments

@robyngit
Copy link
Member

robyngit commented Jul 28, 2021

We need a shortcode that renders the aster plot of scores within markdown content. The shortcode needs the following options:

  • regionId - The region to show scores for, using the same numeric ID used in the scores.csv file. E.g. "0" for Global average.
  • showSubgoals - set to true to render the version of the plot that shows scores for sub-goals (see Create an aster plot that shows sub-goal scores #68), otherwise, only a petal for each parent goal will be shown.
  • highlightGoal - Optionally set to one of the goal codes that are used in scores.csv (e.g. "AO"). If set, then the petal for this goal will be highlighted, while the other goals will be greyed-out. This version of the plot will not be interactive (i.e. a user will not be able to hover on a petal to highlight it, or to click on a petal to navigate to the associated goal).

(Edit: since the aster plot short code will only be used on the goal scores index page, the showSubgoals and highlightGoal are not critical features)

@robyngit robyngit added data viz Related to any of the D3 data visualization elements aster plot Relates to the aster plot showing scores for all goals for each region templating labels Jul 28, 2021
@robyngit robyngit self-assigned this Jul 28, 2021
@robyngit
Copy link
Member Author

robyngit commented Aug 13, 2021

This task is on the back burner until it's decided how we want to display information on the goal score pages, see #82 (comment), #84

@robyngit robyngit added priority: high An issue that is of high importance or urgency and removed priority: low labels Sep 22, 2021
robyngit added a commit that referenced this issue Oct 5, 2021
Add the aster plot to the goal-scores index page

Relates to #69
@robyngit robyngit closed this as completed Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aster plot Relates to the aster plot showing scores for all goals for each region data viz Related to any of the D3 data visualization elements priority: high An issue that is of high importance or urgency templating
Projects
None yet
Development

No branches or pull requests

1 participant