Data Summary - Mean, Median and Standard Deviation usage
Hello,
Data Summary works well in summarizing categorical data, i.e. showing the number of categories and which values are more popular. For example, below it shows the number of State values (i.e. 3 categories) and when you hover you get "TEXAS" as the most popular state.

In the above example, I do also have a numerical column, i.e. EventCount. However, it seems that descriptive stats (Mean, median and SD) are not applied to this. Is this expected?
Sample notebook for repro: https://github.com/MsSQLGirl/jubilant-data-wizards/blob/main/Simple%20Demo/DotNetInteractive%20Notebooks/DotNetConfDemo2021.ipynb
Thanks!
I'll need to make sure numeric data is properly typed in that dataset passed to Data Summary view.
You should see those values and a bar chart similar to the lon/lat fields below instead: https://observablehq.com/@randomfractals/data-table-viewer?dataUrl=https://raw.githubusercontent.com/vega/vega-datasets/master/data/us-state-capitals.json

@MsSQLGirl I'll see if other sample datasets with typed data behave the same way. Most likely I'll have to infer date and numeric fields in JSON and CSV, or JSON array data when data is loaded in the Data Summary renderer by inspecting the first 10 rows or so and converting numeric string data fields to proper JS Date or number types for that to work.
I'll investigate. thanks for pointing this out.
Will try using d3.autoType when parsing CSV data from cell output to create proper number and date type values:
https://github.com/d3/d3-dsv#autoType