Skip to main content
100%

Data Summary

✓ Published0🌍 Public
CCurran Kelleher
Last edited Oct 11, 2017
Created on Oct 11, 2017

This example displays a textual summary of a consumer complaint dataset from Data.gov, showing the number of rows and a column-by-column breakdown after aggregating by month, product, issue, and state. It uses Datalib’s `groupby` and `count` methods to transform the CSV data, then formats the result with `dl.format.summary` and `d3.csvFormat` before rendering it in a `<pre>` element on the page. The code highlights how Datalib can compute and present data summaries directly in the browser.

AI-generated description

This summarizes the data table using Datalib.

This data is from Data.gov: Consumer Complaint Database.

The data set has data about complaints sent to the Consumer Financial Protection Bureau about financial services. This data set was too big for the constraints of the assignment so it had to be modified. This set only includes January, Feburary and March of 2017 and does not have the narratives that consumer put with the complaint. The attributes in this data include the product, subproduct, issue and subissue of the complaint as well as company the complaint is about and the kind of response the company gave.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/f849f374f21c490c5490d501636bdb77'>Data Table Summary</a>

forked from <a href='http://bl.ocks.org/emilyw15/'>emilyw15</a>'s block: <a href='http://bl.ocks.org/emilyw15/553e8acc8bccf2a4237a3e977e70568d'>CFPB Data Table Summary</a>

mit Licensed

Similar vizzes