Create an aster plot short code #69
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
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 thescores.csv
file. E.g. "0" for Global average.showSubgoals
- set totrue
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 inscores.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
andhighlightGoal
are not critical features)The text was updated successfully, but these errors were encountered: