{"version":"1.0","type":"rich","title":"fresh block","description":"Five small squares are positioned along the x-axis, each mapped from a data value of 1 through 5. The example demonstrates a basic linear scale using d3.scaleLinear, which translates the data domain into pixel coordinates for the SVG rendering. The code loads D3 v4, appends an SVG to the body, and binds the array [1, 2, 3, 4, 5] to rect elements. It sets each rectangle’s x attribute with the scale function, with a fixed y and dimensions of 20 by 20.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-989bda10e4c3a5224d0a9930f1110112?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}