Skip to content

Commit 4150c97

Browse files
committed
Show correct (HCD) value of "Total units" in tooltip if "Prefer California HCD data" is checked
1 parent c116e2f commit 4150c97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/BarPlot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function makeTransforms(
146146

147147
if (preferHcdData) {
148148
const hcdTransforms: Transform[] = []
149-
for (const numUnits of NUM_UNITS) {
149+
for (const numUnits of NUM_UNITS.concat(["total"])) {
150150
// We don't have value data in the HCD dataset, so only do the substitution for buildings and units.
151151
for (const type of ["bldgs", "units"]) {
152152
for (const suffix of ["", "_per_capita", "_per_capita_per_1000"]) {

0 commit comments

Comments
 (0)