{"version":"1.0","type":"rich","title":"08. D3 Paragraphs Style Function","description":"This example demonstrates how D3.js can set paragraph styles conditionally based on data values. It selects the body element and appends a paragraph for each number in the dataset [5, 10, 15, 20, 25], with text displaying the count. Using the `.style()` method, paragraphs with data values greater than 10 are colored red, while others remain black, illustrating data-driven styling with D3’s selection and data-binding APIs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e4a35d95a3f845438a78192aad8fd675?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}