Skip to main content
100%

Chennai restaurants

✓ Published0🌍 Public
AAkanksha
Last edited Jan 23, 2024
Created on Jan 23, 2024

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 description

Dataset - https://www.kaggle.com/datasets/phiitm/chennai-zomato-restaurants-data

Tasks I would like to perform -

Check the relation between Area and Price

Check the relation between price and Cuisine

MIT Licensed

Similar vizzes