Skip to content

Commit

Permalink
Adding an example slice for big_number_total
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas committed Apr 7, 2016
1 parent 0dd20b0 commit d42279a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions caravel/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,16 @@ def load_birth_names():
defaults,
viz_type="big_number", granularity="ds",
compare_lag="5", compare_suffix="over 5Y")),
Slice(
slice_name="Number of Girls",
viz_type='big_number_total',
datasource_type='table',
table=tbl,
params=get_slice_json(
defaults,
viz_type="big_number_total", granularity="ds",
flt_col_1='gender', flt_eq_1='girl',
subheader='total female participants')),
Slice(
slice_name="Genders",
viz_type='pie',
Expand Down

0 comments on commit d42279a

Please sign in to comment.