Skip to content

Commit

Permalink
add small data disclaimers
Browse files Browse the repository at this point in the history
  • Loading branch information
macfarlandian committed Nov 10, 2020
1 parent 986875c commit a6669f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
DIMENSION_KEYS,
DIMENSION_MAPPINGS,
} from "../constants";
import Disclaimer from "../disclaimer";
import {
assignOrderedDatavizColor,
demographicsAscending,
Expand Down Expand Up @@ -97,10 +98,13 @@ export default function VizRecidivismRates({
});

return (
<RecidivismRatesChart
data={chartData}
highlightedCohort={highlightedCohort}
/>
<>
<RecidivismRatesChart
data={chartData}
highlightedCohort={highlightedCohort}
/>
<Disclaimer type="small-data" />
</>
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
DIMENSION_MAPPINGS,
TOTAL_KEY,
} from "../constants";
import Disclaimer from "../disclaimer";
import { THEME } from "../theme";
import { demographicsAscending, recordIsTotalByDimension } from "../utils";

Expand Down Expand Up @@ -105,6 +106,7 @@ export default function VizRecidivismSingleFollowup({ data, dimension }) {
setSelectedChartTitle={setSelectedChartTitle}
width={width || 0}
/>
<Disclaimer type="small-data" />
</Wrapper>
)}
</Measure>
Expand Down

0 comments on commit a6669f7

Please sign in to comment.