Viewing a saved revision (read-only)
307523ed12c64498b36d38b1da1ed91e
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 (https://www.kaggle.com/datasets/phiitm/chennai-zomato-restaurants-data), loaded and parsed as CSV.