Adult Income Prediction Dataset
The visualization loads the Adult Income Prediction Dataset from a CSV file and displays the raw parsed data as JSON in a preformatted text block. It demonstrates loading and parsing a large dataset with D3.js v7, using the `csvParse` method to convert the CSV string into an array of objects. The view initially shows a loading state before fetching the data, then renders the parsed dataset structure. The example highlights basic data ingestion and state management with D3 selections and a custom state object.
AI-generated descriptionThe Adult Income Prediction Dataset is a fairly large dataset that describes adults, their demographic information, and their employment and income information. The data aims to predict whether or not an adult makes over or under 50k per year.
This data came from the 1994 US Census database and includes 15 attributes of over 32,000 rows.
These attributes include:
Age: Quantitative Workclass: Qualitative - Type of Employment Final Weight: Quantitative - Estimate of Population Stats Education: Ordered - Level of Education Education Num: Ordered - Numerical Representation of Education Level Marital Status: Qualitative Occupation: Qualitative Relationship: Qualitative - Role in Household Race: Qualitative Sex: Qualitative Capital Gain: Quantitative Capital Loss: Quantitative Hours/Week: Quantitative Native Country: Qualitative Income: Qualitative - Over or under 50
https://www.kaggle.com/datasets/mosapabdelghany/adult-income-prediction-dataset?resource=download