outshow many independent weird svgs codes with weird… · The Chat Archive
Explore outshow many independent weird svgs codes with weird dimensions units and presenting or… Save Share Download ▾ Reportoutshow many independent weird svgs codes with weird dimensions units and presenting or missing viewbox properties randomly for testings.
Assistant2025-05-23 21:17 UTC Copy response
Sure! Below are 10 independent SVG code samples for testing purposes. Each SVG uses , and they . These cover a range of dimension units like , , , , , , , , , , , , and also some unusual combinations or missing attributes to simulate edge cases.
Copy first prompt Copy first response
Other models, same or similar prompt Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Details
Provider OpenAI
Model provenance As recorded by source dataset
Turns 1 (2 messages)
Language en
Conversation date May 23, 2025
Added to archive Nov 16, 2026
ID 01m7h42vn7cm0dn6erqc6n24rvSource & license Imported from WildChat-4.8M (AI2) (source ). Imported records earn no Research Points.
Upstream record: 8f39634d955d51828b11fc52d443ed7d
Zhao et al., WildChat: 1M ChatGPT Interaction Logs in the Wild (ICLR 2024). Contains information from WildChat-4.8M, made available under the ODC Attribution License.
License: ODC-BY-1.0
weird or uncommon dimension units
randomly include or omit the viewBox attribute
cm
mm
in
pt
pc
%
em
ex
ch
rem
vw
vh
1. SVG with cm, missing viewBox xml Copy code
<svg width="5cm" height="3cm" xmlns="http://www.w3.org/2000/svg">
<circle cx="2cm" cy="1.5cm" r="1cm" fill="purple"/>
</svg>
2. SVG with in and a viewBox xml Copy code
<svg width="2in" height="1in" viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
<rect width="200" height="100" fill="orange"/>
</svg>
3. SVG with pt, missing viewBox xml Copy code
<svg width="150pt" height="75pt" xmlns="http://www.w3.org/2000/svg">
<ellipse cx="75pt" cy="37.5pt" rx="50pt" ry="25pt" fill="lightblue"/>
</svg>
4. SVG with % units and viewBox xml Copy code
<svg width="50%" height="30%" viewBox="0 0 100 60" xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="80" height="40" fill="green"/>
</svg>
5. SVG with em and missing viewBox xml Copy code
<svg width="10em" height="5em" xmlns="http://www.w3.org/2000/svg">
<text x="0" y="4em" font-size="4em" fill="red">Test</text>
</svg>
6. SVG with vw, having a viewBox xml Copy code
<svg width="30vw" height="15vw" viewBox="0 0 300 150" xmlns="http://www.w3.org/2000/svg">
<polygon points="150,0 290,140 10,140" fill="yellow"/>
</svg>
7. SVG with pc and missing viewBox xml Copy code
<svg width="8pc" height="4pc" xmlns="http://www.w3.org/2000/svg">
<line x1="0" y1="0" x2="96" y2="48" stroke="black" stroke-width="2"/>
</svg>
8. SVG with rem units, having a viewBox xml Copy code
<svg width="12rem" height="6rem" viewBox="0 0 120 60" xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="100" height="40" fill="teal"/>
</svg>
9. SVG with ex and missing viewBox xml Copy code
<svg width="20ex" height="10ex" xmlns="http://www.w3.org/2000/svg">
<circle cx="10ex" cy="5ex" r="5ex" fill="pink"/>
</svg>
10. SVG with ch and viewBox xml Copy code
<svg width="15ch" height="8ch" viewBox="0 0 150 80" xmlns="http://www.w3.org/2000/svg">
<rect x="5" y="5" width="140" height="70" fill="#888"/>
</svg>
Let me know if you want even weirder setups or additional cases!
Not yet included in a published release.