🌍 Public
Viewing a saved revision (read-only)
02c0f225c65749928dfc2cfcc6ce6c1e
Chennai restaurants
This example reads a CSV of Chennai restaurant data and converts numerical fields like `Price_for_2`, `Dining_Rating`, `Dining_Rating_Count`, and `Delivery_Rating` to numbers. It then displays the first record as a formatted JSON object within a `<pre>` element using the Vega-Lite data loading and export API. The visualization is a static, text-based preview of the dataset, showcasing the raw structure of the data without any graphical encoding. The implementation relies on JavaScript string interpolation to set the font size and inject the JSON string into the container’s HTML.
AI-generated descriptionThe Penguins Dataset, loaded and parsed as CSV.
Challenge
- Find 3 datasets on a topic you are interested in
- For each of those, fork this viz and replace the data
- Parse the quantitative attributes into numbers
- Update
README.mdto indicate the original data source