XRD Pattern
Chart overview
X-ray diffraction patterns are the definitive fingerprint of crystalline materials, providing lattice parameters, crystallite size via Scherrer broadening, phase composition, and preferred orientation.
Key points
- Each peak corresponds to a set of crystallographic planes satisfying Bragg's law, and its position, intensity, and width together encode structural information.
- XRD is ubiquitous in materials characterization, spanning thin films, nanoparticles, ceramics, alloys, and pharmaceuticals, making its clear visualization with Miller index labels essential for publication.
Example Visualization

Create This Chart Now
Generate publication-ready xrd patterns with AI in seconds. No coding required – just describe your data and let AI do the work.
View example prompt
"Create a publication-quality XRD pattern from my diffraction data. Plot intensity (counts or arbitrary units) on the y-axis versus 2-theta (degrees) on the x-axis. Label the major Bragg peaks with their Miller indices (hkl) as vertical annotations above each peak. Add reference vertical dashed lines at standard peak positions if reference data is available. Use a clean line plot style with tick marks on the x-axis every 5 or 10 degrees. Include axis labels, a legend for multiple samples if applicable, and a descriptive title. White background, professional styling."
How to create this chart in 30 seconds
Upload Data
Drag & drop your Excel or CSV file. Plotivy securely processes it in your browser.
AI Generation
Our AI analyzes your data and generates the XRD Pattern code automatically.
Customize & Export
Tweak the design with natural language, then export as high-res PNG, SVG or PDF.
Python Code Example
Console Output
Figure saved: plotivy-xrd-pattern.png
Common Use Cases
- 1Phase identification and quantitative Rietveld refinement of polycrystalline samples
- 2Crystallite size determination via Scherrer equation from peak broadening
- 3Residual stress analysis from peak shift in thin films and coatings
- 4Monitoring solid-state reaction progress and phase transformation kinetics
Pro Tips
Normalize or offset multiple patterns vertically for easy comparison on the same axes
Annotate peaks with Miller indices at a consistent height above the peak maximum
Use a logarithmic y-axis to reveal weak peaks alongside strong dominant reflections
Shade the background contribution (amorphous hump) in gray to distinguish from crystalline peaks
Scientific Chart Selection Cheat Sheet
Not sure whether to use a Violin Plot, Box Plot, or Ridge Plot? Download our single-page reference mapping the most-used scientific chart types, exactly when to use them, and the core Matplotlib/Seaborn functions.