psrc / psrcplot

Package for Creating PSRC consistent data visualizations with R
https://psrc.github.io/psrcplot/
GNU General Public License v3.0
2 stars 0 forks source link

Interactive bar charts - missing source item #74

Closed MrichardsPSRC closed 1 year ago

MrichardsPSRC commented 1 year ago

I am attempting to create an interactive bar chart with source information, but it doesn't seem to be appearing. I tried including a subtitle with the same information and that worked, other than the spacing.

# generate interactive bar chart
own_race_chart <-interactive_bar_chart(t=dt_2021,
                                       x="share", y="HRACE_low_high",
                                       fill="HRACE_low_high",
                                       pos="dodge", est="percent", moe=NULL,
                                       # href="ref_val", hrefnm="Region", hrefcl='#00716c',
                                       title="Homeownership by Race and Hispanic/Latinx Origin",
                                       subtitle="U.S. Census Bureau, American Community Survey (ACS) 2021 1-Year",
                                       source="U.S. Census Bureau, American Community Survey (ACS) 2021 1-Year",
                                       dec = 2, color="psrc_light")

image

jensenmj commented 1 year ago

Solved with commit d4adb92.