ok make some steps for that with a gradient of one color family (blue-navy shade-violet)…
- User
ok make some steps for that with a gradient of one color family (blue-navy shade-violet) but I want to have breakpoints: 20, 50, 100, 150, 200, 300
Assistant
Here's a refined version with a smooth gradient of blue-navy-violet shades, using your specified breakpoints (20, 50, 100, 150, 200, 300):
<Layer id="clusters" type="circle" filter={["has", "point_count"]} paint={{ "circle-color": [ "step", ["get", "point_count"], "#51bbd6", // Light blue (0-19 points) 20, "#42a5f5", // Medium blue (20-49 points) 50, "#3391ff", // Stronger blue (50-99 points) 100, "#2a7de0", // Navy blue (100-149 points) 150, "#1a5dab", // Dark navy (150-199 points) 200, "#0a3d76", // Very dark navy (200-299 points) 300, "#6a1b9a", // Deep violet (300+ points) ], "circle-radius": 20, // Fixed radius "circle-stroke-width": 1, "circle-stroke-color": "#fff", }} />
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.